private class UpdateCommandMessage.UpdatesValidator extends java.lang.Object implements FieldNameValidator
| Modifier and Type | Field and Description |
|---|---|
private int |
i |
| Modifier | Constructor and Description |
|---|---|
private |
UpdatesValidator() |
| 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.
|
public boolean validate(java.lang.String fieldName)
FieldNameValidatorvalidate in interface FieldNameValidatorfieldName - the field namepublic FieldNameValidator getValidatorForField(java.lang.String fieldName)
FieldNameValidatorgetValidatorForField in interface FieldNameValidatorfieldName - the field name