org.springmodules.validation.bean.conf.loader.xml
Class DefaultValidationRuleElementHandlerRegistry

java.lang.Object
  extended by org.springmodules.validation.util.context.BasicContextAware
      extended by org.springmodules.validation.bean.conf.loader.xml.SimpleValidationRuleElementHandlerRegistry
          extended by org.springmodules.validation.bean.conf.loader.xml.DefaultValidationRuleElementHandlerRegistry
All Implemented Interfaces:
BeanFactoryAware, InitializingBean, ApplicationContextAware, ApplicationEventPublisherAware, MessageSourceAware, ResourceLoaderAware, ValidationRuleElementHandlerRegistry, ConditionExpressionBased, ContextAware, FunctionExpressionBased

public class DefaultValidationRuleElementHandlerRegistry
extends SimpleValidationRuleElementHandlerRegistry

A SimpleValidationRuleElementHandlerRegistry that already registers the following default element handlers:

  1. NotNullRuleElementHandler
  2. LengthRuleElementHandler
  3. NotBlankRuleElementHandler
  4. EmailRuleElementHandler
  5. RegExpRuleElementHandler
  6. SizeRuleElementHandler
  7. NotEmptyRuleElementHandler
  8. NotBlankRuleElementHandler
  9. RangeRuleElementHandler
  10. ExpressionPropertyValidationElementHandler
  11. DateInPastRuleElementHandler
  12. DateInFutureRuleElementHandler
  13. *
  14. InstantInFutureRuleElementHandler (only if joda-time library is available in the classpath)
  15. *
  16. InstantInPastRuleElementHandler (only if joda-time library is available in the classpath)
  17. *

Author:
Uri Boness

Field Summary
 
Fields inherited from class org.springmodules.validation.util.context.BasicContextAware
applicationContext, applicationEventPublisher, beanFactory, messageSource, resourceLoader
 
Constructor Summary
DefaultValidationRuleElementHandlerRegistry()
          Constructs a new DefaultValidationRuleElementHandlerRegistry with the default handlers.
 
Method Summary
 
Methods inherited from class org.springmodules.validation.bean.conf.loader.xml.SimpleValidationRuleElementHandlerRegistry
afterPropertiesSet, findClassHandler, findConditionExpressionParserInApplicationContext, findFunctionExpressionParserInApplicationContext, findObjectInApplicationContext, findPropertyHandler, getClassHandlers, getPropertyHandlers, registerClassHandler, registerPropertyHandler, setClassHandlers, setConditionExpressionParser, setExpressionParsers, setExtraClassHandlers, setExtraPropertyHandlers, setFunctionExpressionParser, setPropertyHandlers
 
Methods inherited from class org.springmodules.validation.util.context.BasicContextAware
initLifecycle, initLifecycle, setApplicationContext, setApplicationEventPublisher, setBeanFactory, setMessageSource, setResourceLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValidationRuleElementHandlerRegistry

public DefaultValidationRuleElementHandlerRegistry()
Constructs a new DefaultValidationRuleElementHandlerRegistry with the default handlers.



Copyright © 2009. All Rights Reserved.