Interface FormFieldValidator
-
- All Known Implementing Classes:
AbstractNumericValidator
,AbstractTextValueValidator
,DelegateFormFieldValidator
,MaxLengthValidator
,MaxValidator
,MinLengthValidator
,MinValidator
,ReadOnlyValidator
,RequiredValidator
public interface FormFieldValidator
Interface for implenting form field validators.
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
validate(java.lang.Object submittedValue, FormFieldValidatorContext validatorContext)
return true if the submitted value is valid for the given form field.
-
-
-
Method Detail
-
validate
boolean validate(java.lang.Object submittedValue, FormFieldValidatorContext validatorContext)
return true if the submitted value is valid for the given form field.- Parameters:
submittedValue
- the value submitted to the form fieldvalidatorContext
- object providing access to additional information useful wile validating the form- Returns:
- true if the value is valid, false otherwise.
-
-