org.springmodules.validation.bean.conf.loader.xml.handler
Class ExpressionClassValidationElementHandler

java.lang.Object
  extended by org.springmodules.validation.bean.conf.loader.xml.handler.AbstractClassValidationElementHandler
      extended by org.springmodules.validation.bean.conf.loader.xml.handler.ExpressionClassValidationElementHandler
All Implemented Interfaces:
ClassValidationElementHandler, ConditionExpressionBased, FunctionExpressionBased

public class ExpressionClassValidationElementHandler
extends AbstractClassValidationElementHandler

An AbstractClassValidationElementHandler that can handle class elements that represent valang validation rules. This handler creates a valang conditoin out of a <valang> element.

Author:
Uri Boness

Constructor Summary
ExpressionClassValidationElementHandler(java.lang.String namespaceUri)
          Constructs a new ExpressionClassValidationElementHandler.
 
Method Summary
protected  AbstractValidationRule createValidationRule(org.w3c.dom.Element element)
          Creates the validation rule represented and initialized by and with the given element.
 
Methods inherited from class org.springmodules.validation.bean.conf.loader.xml.handler.AbstractClassValidationElementHandler
extractApplicabilityCondition, extractArgumentsResolver, extractErrorCode, extractMessage, getConditionExpressionParser, getFunctionExpressionParser, handle, isConditionGloballyScoped, isNullSupported, setConditionExpressionParser, setFunctionExpressionParser, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionClassValidationElementHandler

public ExpressionClassValidationElementHandler(java.lang.String namespaceUri)
Constructs a new ExpressionClassValidationElementHandler.

Method Detail

createValidationRule

protected AbstractValidationRule createValidationRule(org.w3c.dom.Element element)
Description copied from class: AbstractClassValidationElementHandler
Creates the validation rule represented and initialized by and with the given element.

Specified by:
createValidationRule in class AbstractClassValidationElementHandler
Parameters:
element - The element that represents the validation rule.
Returns:
The newly created validation rule.


Copyright © 2005. All Rights Reserved.