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