- All Implemented Interfaces:
 
Validator<String> 
Implementation of validator for name field. (Route)
- Since:
 
- 1.0
 
- 
Constructor Summary
Constructors
 
- 
Method Summary
boolean
Checks if value not null and not blank.
 
 
 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
- 
Constructor Details
- 
NameValidator
public NameValidator()
 
 
- 
Method Details
- 
validate
public boolean validate(String value) 
Checks if value not null and not blank.
- Specified by:
 
validate in interface Validator<String> 
- Parameters:
 
value - name to validate 
- Returns:
 
- true/false -- matches the restrictions
 
- See Also:
 
-