public abstract class KualiBeanDefinitionParserBase extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
| Constructor and Description |
|---|
KualiBeanDefinitionParserBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected abstract String |
getBaseBeanTypeParent(Element element) |
protected Class |
getBeanClass(Element element) |
protected void |
handleAbstractAttribute(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean) |
protected void |
parseEmbeddedPropertyElements(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean) |
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
parseInternal(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Creates a
BeanDefinitionBuilder instance for the
bean Class and passes it to the
doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder) strategy method. |
public KualiBeanDefinitionParserBase()
protected void parseEmbeddedPropertyElements(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
protected void handleAbstractAttribute(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
protected final org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
BeanDefinitionBuilder instance for the
bean Class and passes it to the
doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder) strategy method.parseInternal in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserelement - the element that is to be parsed into a single BeanDefinitionparserContext - the object encapsulating the current state of the parsing processElementIllegalStateException - if the bean Class returned from
getBeanClass(org.w3c.dom.Element) is nulldoParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder)protected abstract void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Element and populate the supplied
BeanDefinitionBuilder as required.
The default implementation delegates to the doParse
version without ParserContext argument.
element - the XML element being parsedparserContext - the object encapsulating the current state of the parsing processbuilder - used to define the BeanDefinition#doParse(Element, BeanDefinitionBuilder)protected abstract String getBaseBeanTypeParent(Element element)
protected Class getBeanClass(Element element)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.