org.springmodules.validation.bean.conf.namespace
Class XmlBasedValidatorBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springmodules.validation.bean.conf.namespace.XmlBasedValidatorBeanDefinitionParser
- All Implemented Interfaces:
- BeanDefinitionParser, ValidationBeansParserConstants
public class XmlBasedValidatorBeanDefinitionParser
- extends AbstractBeanDefinitionParser
- implements ValidationBeansParserConstants
- Author:
- Uri Boness
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlBasedValidatorBeanDefinitionParser
public XmlBasedValidatorBeanDefinitionParser()
parseInternal
protected AbstractBeanDefinition parseInternal(Element element,
ParserContext parserContext)
- Specified by:
parseInternal
in class AbstractBeanDefinitionParser
getBeanClass
protected Class getBeanClass(Element element)
- Returns the
BeanValidator
class.
- See Also:
AbstractSingleBeanDefinitionParser.doParse(org.w3c.dom.Element, org.springframework.beans.factory.support.BeanDefinitionBuilder)
parseResourcesElements
protected void parseResourcesElements(Element element,
BeanDefinitionBuilder loaderBuilder)
createResource
protected Resource createResource(Element resourceDefinition)
createResources
protected List createResources(Element resourcesDefinition)
parseHandlerElements
protected void parseHandlerElements(Element element,
BeanDefinitionBuilder registryBuilder)
loadAndInstantiate
protected Object loadAndInstantiate(String className)
- Loads and instantiates the given class.
- Parameters:
className
- The name of the given class.
Copyright © 2009. All Rights Reserved.