public interface Validator
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a human readable representation of this Validator.
|
boolean |
isAlwaysTrue()
Returns true, if this Validator validates all values to true.
The result must not necessarily be correct. |
String |
validate(Object value)
Checks whether the given value is valid.
|
String validate(Object value)
value
- the value to checkString getDescription()
boolean isAlwaysTrue()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a