|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.form.validator.ValidatorFactoryImpl
Implementation of the tapestry.form.validator.ValidatorFactory service, which builds and caches validators and lists of validators from a "magic" string specification.
Constructor Summary | |
ValidatorFactoryImpl()
|
Method Summary | |
java.util.List |
constructValidatorList(IComponent component,
java.lang.String specification)
Constructs a new (immutable) List of Validator , or returns a previously constructed
List. |
void |
setValidators(java.util.Map validators)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValidatorFactoryImpl()
Method Detail |
public java.util.List constructValidatorList(IComponent component, java.lang.String specification)
ValidatorFactory
Validator
, or returns a previously constructed
List.
constructValidatorList
in interface ValidatorFactory
component
- the component for which the list is being createdspecification
- a string identifying which validators and their configuration
Validator
(possibly empty)public void setValidators(java.util.Map validators)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |