org.kuali.kfs.sys.spring.datadictionary
Class KualiBeanDefinitionParserBase
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.kuali.kfs.sys.spring.datadictionary.KualiBeanDefinitionParserBase
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
- AttributeBeanDefinitionParser, FieldBeanDefinitionParser, MaintenanceFieldBeanDefinitionParser, RelationshipBeanDefinitionParser, WorkflowAttributesBeanDefinitionParser, WorkflowPropertiesBeanDefinitionParser
public abstract class KualiBeanDefinitionParserBase
- extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KualiBeanDefinitionParserBase
public KualiBeanDefinitionParserBase()
parseEmbeddedPropertyElements
protected void parseEmbeddedPropertyElements(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
handleAbstractAttribute
protected void handleAbstractAttribute(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
parseInternal
protected final 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.
- Specified by:
parseInternal
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
- Parameters:
element
- the element that is to be parsed into a single BeanDefinitionparserContext
- the object encapsulating the current state of the parsing process
- Returns:
- the BeanDefinition resulting from the parsing of the supplied
Element
- Throws:
IllegalStateException
- if the bean Class
returned from
getBeanClass(org.w3c.dom.Element)
is null
- See Also:
doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder)
doParse
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.
The default implementation delegates to the doParse
version without ParserContext argument.
- Parameters:
element
- the XML element being parsedparserContext
- the object encapsulating the current state of the parsing processbuilder
- used to define the BeanDefinition
- See Also:
#doParse(Element, BeanDefinitionBuilder)
getBaseBeanTypeParent
protected abstract String getBaseBeanTypeParent(Element element)
getBeanClass
protected Class getBeanClass(Element element)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.