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)

Method Summary
 List<Validator> constructValidatorList(IComponent component, BeanProperty property)
           
 
Methods inherited from interface org.apache.tapestry.event.ResetEventListener
resetEventDidOccur
 
Methods inherited from interface org.apache.tapestry.event.ReportStatusListener
reportStatus
 

Method Detail

constructValidatorList

List<Validator> constructValidatorList(IComponent component,
                                       BeanProperty property)


Copyright © 2006 Daniel Gredler. All Rights Reserved.