public interface FormFieldValidator
Interface for implenting form field validators.
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Object submittedValue,
FormFieldValidatorContext validatorContext)
return true if the submitted value is valid for the given form field.
|
boolean validate(Object submittedValue, FormFieldValidatorContext validatorContext)
submittedValue
- the value submitted to the form fieldvalidatorContext
- object providing access to additional information useful wile
validating the formCopyright © 2017. All rights reserved.