org.apache.tapestry.form.validator
Class ValidatorFactoryImpl
java.lang.Object
org.apache.tapestry.form.validator.ValidatorFactoryImpl
- All Implemented Interfaces:
- ValidatorFactory
public class ValidatorFactoryImpl
- extends Object
- implements ValidatorFactory
Implementation of the tapestry.form.validator.ValidatorFactory service, which builds and caches
validators and lists of validators from a "magic" string specification.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorFactoryImpl
public ValidatorFactoryImpl()
constructValidatorList
public List constructValidatorList(IComponent component,
String specification)
- Description copied from interface:
ValidatorFactory
- Constructs a new (immutable) List of
Validator
, or returns a previously constructed
List.
- Specified by:
constructValidatorList
in interface ValidatorFactory
- Parameters:
component
- the component for which the list is being createdspecification
- a string identifying which validators and their configuration
- Returns:
- List of
Validator
(possibly empty)
setValidators
public void setValidators(Map validators)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.