public interface FieldNameValidator
Modifier and Type | Method and Description |
---|---|
FieldNameValidator |
getValidatorForField(String fieldName)
Gets a new validator to use for the value of the field with the given name.
|
boolean |
validate(String fieldName)
Returns true if the field name is valid, false otherwise.
|
boolean validate(String fieldName)
fieldName
- the field nameFieldNameValidator getValidatorForField(String fieldName)
fieldName
- the field name