org.springmodules.validation.bean.conf.loader.xml.handler
Interface ClassValidationElementHandler

All Known Implementing Classes:
AbstractClassValidationElementHandler, ExpressionClassValidationElementHandler

public interface ClassValidationElementHandler

An handler that handles class level validation dom elements and manipulates the validation configuration appropriately.

Author:
Uri Boness

Method Summary
 void handle(org.w3c.dom.Element element, MutableBeanValidationConfiguration configuration)
          Handles the given element and and manipulates the given configuration appropriately.
 boolean supports(org.w3c.dom.Element element, java.lang.Class clazz)
          Determines whether this handler can handle the given element.
 

Method Detail

supports

boolean supports(org.w3c.dom.Element element,
                 java.lang.Class clazz)
Determines whether this handler can handle the given element.

Parameters:
element - The element to be handled.
clazz - The validated class.
Returns:
true if this handler can handle the given element, false otherwise.

handle

void handle(org.w3c.dom.Element element,
            MutableBeanValidationConfiguration configuration)
Handles the given element and and manipulates the given configuration appropriately.

Parameters:
element - The element to be handled.
configuration - The configuration to be manipulated.


Copyright © 2005. All Rights Reserved.