public interface Validator<T>
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getValidatedType()
Get the type that this validator validates
|
void |
validate(T value,
String field,
Validation validation)
Validate the given value
|
void validate(T value, String field, Validation validation)
value - The value, may be nullfield - The name of the field being validated, if applicablevalidation - The validation contextCopyright © 2013. All Rights Reserved.