|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IValidator
Interface for validations by form components.
Instead of subclassing IValidator, you should use one of the existing
validators, which cover a huge number of cases, or if none satisfies your
need, subclass one of the Type validators like StringValidator,
NumberValidator or DateValidator
Interface to code that validates Form components. When the validate() method of the interface is called by the framework, the IValidator implementation is expected to check the input String it is passed.
| Method Summary | |
|---|---|
void |
validate(FormComponent component)
Instead of subclassing IValidator, you should use one of the existing validators, which cover a huge number of cases, or if none satisfies your need, subclass one of the Type validators like StringValidator,
NumberValidator or DateValidator |
| Method Detail |
|---|
void validate(FormComponent component)
Instead of subclassing IValidator, you should use one of the existing
validators, which cover a huge number of cases, or if none satisfies your
need, subclass one of the Type validators like StringValidator,
NumberValidator or DateValidator
Validates the given input. The input corresponds to the input from the request for a component.
component - Component to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||