public interface Validator
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getConfiguration()
Retrieves the configuration of the validator.
|
void |
validate(Object value,
Errors errors)
Validates a value.
|
void validate(Object value, Errors errors)
value - the value to validate (can be null).errors - the structure to populate if the validation failed.Map<String,Object> getConfiguration()