net.sf.beanform.validator
Interface CachingValidatorFactory
- All Superinterfaces:
- EventListener, ReportStatusListener, ResetEventListener
- All Known Implementing Classes:
- CachingValidatorFactoryImpl
public interface CachingValidatorFactory
- extends ResetEventListener, 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)
constructValidatorList
List<Validator> constructValidatorList(IComponent component,
BeanProperty property)
Copyright © 2006 Daniel Gredler. All Rights Reserved.