|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.formproc.validation.Validator | +--org.formproc.validation.RuleValidator
A FormValidator which uses Rule objects to test for validity.
Field Summary |
Fields inherited from class org.formproc.validation.Validator |
formManager, messageProvider, properties |
Constructor Summary | |
RuleValidator()
Construct a RuleValidator. |
Method Summary | |
void |
configureInternal(com.anthonyeden.lib.config.Configuration configuration)
Configure the validator using the given configuration object |
ValidationResult |
validate(FormElement[] formElements,
FormData[] formData,
java.util.Locale locale)
Validate the given FormData array. |
Methods inherited from class org.formproc.validation.Validator |
clone, configure, getErrorMessage, getErrorMessage, setFormManager, setProperties |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RuleValidator()
Method Detail |
public void configureInternal(com.anthonyeden.lib.config.Configuration configuration) throws java.lang.Exception
configureInternal
in class Validator
configuration
- The configuration object
java.lang.Exception
public ValidationResult validate(FormElement[] formElements, FormData[] formData, java.util.Locale locale) throws java.lang.Exception
validate
in class Validator
formElements
- An array of FormElement objectsformData
- An array of FormData objectslocale
- The Locale
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |