|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
net.sf.doolin.context.spring.AbstractDefinitionParser
public abstract class AbstractDefinitionParser
Utility parser for beans.
| Field Summary |
|---|
| Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
|---|
ID_ATTRIBUTE |
| Constructor Summary | |
|---|---|
AbstractDefinitionParser()
|
|
| Method Summary | |
|---|---|
protected void |
delegate(Element element,
String ns,
String childName,
AbstractDefinitionParser parser,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Delegates the parsing of the current element to a child element. |
void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Changes scope to public. |
protected void |
setAttributeAsProperty(Element element,
String attribute,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the attribute as property. |
protected void |
setAttributeAsProperty(Element element,
String attribute,
String property,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the attribute as property. |
protected void |
setAttributeAsReference(Element element,
String attribute,
String property,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the attribute as a reference. |
protected void |
setChildrenAsListProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the elements as a list property. |
protected void |
setElementAsProperty(Element element,
String name,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the element as property. |
protected void |
setElementAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the element as property. |
protected void |
setListAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the list as property. |
protected void |
setListStringAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the list of String as property. |
protected void |
setMapAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets the map as property. |
protected void |
setPropertyValue(Element element,
String propertyName,
String propertyValue,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Sets a property value |
| Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
|---|
doParse, getBeanClass, 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 |
| Constructor Detail |
|---|
public AbstractDefinitionParser()
| Method Detail |
|---|
protected void delegate(Element element,
String ns,
String childName,
AbstractDefinitionParser parser,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - Current elementns - Namespace URI for the child elementchildName - Name of the child elementparser - Parser to applycontext - Parsing contextbuilder - Current builder
public void doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected void setAttributeAsProperty(Element element,
String attribute,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementattribute - the attributebuilder - the builder
protected void setAttributeAsProperty(Element element,
String attribute,
String property,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementattribute - the attributeproperty - the propertybuilder - the builder
protected void setAttributeAsReference(Element element,
String attribute,
String property,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementattribute - the attributeproperty - the propertybuilder - the builder
protected void setChildrenAsListProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementname - the name of the childpropertyName - the property that contains the listcontext - the contextbuilder - the builder
protected void setElementAsProperty(Element element,
String name,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementname - the namecontext - the contextbuilder - the builder
protected void setElementAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementname - the namepropertyName - the property namecontext - the contextbuilder - the builder
protected void setListAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementname - the namepropertyName - the property namecontext - the contextbuilder - the builder
protected void setListStringAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementname - the namepropertyName - the property namecontext - the contextbuilder - the builder
protected void setMapAsProperty(Element element,
String name,
String propertyName,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementname - the namepropertyName - the property namecontext - the contextbuilder - the builder
protected void setPropertyValue(Element element,
String propertyName,
String propertyValue,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
element - the elementpropertyName - the property namepropertyValue - the property valuebuilder - the builder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||