org.apache.tapestry5
public interface: FieldValidator [javadoc |
source]
All Known Implementing Classes:
FieldValidatorImpl, CompositeFieldValidator
Responsible for validation of a single field.
Method from org.apache.tapestry5.FieldValidator Detail: |
public boolean isRequired()
|
public void render(MarkupWriter writer)
|
public void validate(T value) throws ValidationException
Invoked after the client-submitted value has been translated to check that the value conforms
to expectations (often, in terms of minimum or maximum value). If and only if the value is approved by all
Validators is the value applied by the field. |