- All Implemented Interfaces:
Validator<Route>
Implementation of validator for name field. (Route)
*
* @since 1.1
* @author Zerumi
-
Constructor Summary
Constructors
-
Method Summary
boolean
Provides validation method.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RouteValidator
public RouteValidator()
-
Method Details
-
validate
public boolean validate(Route route)
Provides validation method.
- Specified by:
validate
in interface Validator<Route>
- Parameters:
route
- value to validate
- Returns:
- true if value is validate. Otherwise false.