net.sf.beanform.validator
Interface CachingValidatorFactory
- All Superinterfaces:
- EventListener, org.apache.tapestry.event.ReportStatusListener, org.apache.tapestry.event.ResetEventListener
- All Known Implementing Classes:
- CachingValidatorFactoryImpl
public interface CachingValidatorFactory
- extends org.apache.tapestry.event.ResetEventListener, org.apache.tapestry.event.ReportStatusListener
Wraps a ValidatorFactory
to provide caching services for the generated validator lists.
This isn't normally necessary, as the validator bindings are cached along with the pages, but
we're not using validator bindings because we need the validation lists to be built dynamically.
It also adds "inherent" validators to the generated lists -- these are validators that are inherent
to the property type.
- Author:
- Daniel Gredler
- See Also:
AbstractNumberValidator
,
ReflectionUtils.convertToType(Object, Class)
Methods inherited from interface org.apache.tapestry.event.ResetEventListener |
resetEventDidOccur |
Methods inherited from interface org.apache.tapestry.event.ReportStatusListener |
reportStatus |
constructValidatorList
List<org.apache.tapestry.form.validator.Validator> constructValidatorList(org.apache.tapestry.IComponent component,
BeanProperty property)
Copyright © 2005-2008 SourceForge.net. All Rights Reserved.