org.kuali.rice.krad.datadictionary.parse
Class CustomSchemaParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.kuali.rice.krad.datadictionary.parse.CustomSchemaParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
public class CustomSchemaParser
- extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Parser for parsing xml bean's created using the custom schema into normal spring bean format.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
Method Summary |
protected void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
Parses the xml bean into a standard bean definition format and fills the information in the passed in definition
builder |
protected Class |
getBeanClass(Element bean)
Retrieves the class of the bean defined by the xml element. |
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
doParse, getBeanClassName, getParentName, parseInternal |
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 |
CustomSchemaParser
public CustomSchemaParser()
getBeanClass
protected Class getBeanClass(Element bean)
- Retrieves the class of the bean defined by the xml element.
- Overrides:
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- Parameters:
bean
- - The xml element for the bean being parsed.
- Returns:
- The class associated with the provided tag
doParse
protected void doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
- Parses the xml bean into a standard bean definition format and fills the information in the passed in definition
builder
- Overrides:
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- Parameters:
element
- - The xml bean being parsed.parserContext
- - Provided information and functionality regarding current bean set.bean
- - A definition builder used to build a new spring bean from the information it is filled with.
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.