|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the generic capabilities of a form field validation operation. It is essentially a function object which can optionally mutate the value being validated.
Method Summary | |
void |
validate(java.lang.Object value)
This method validates the given value based on the implementation-defined validation rules. |
void |
validate(java.lang.Object value,
java.util.Locale locale)
This method validates the given value based on the implementation-defined validation rules and the specified locale. |
Method Detail |
public void validate(java.lang.Object value) throws java.lang.Exception
java.lang.Exception
- if the validation failspublic void validate(java.lang.Object value, java.util.Locale locale) throws java.lang.Exception
java.lang.Exception
- if the validation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |