net.sf.snamespaces
Class SingleBeanDefinitionParserWithOptionalId
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
net.sf.snamespaces.SingleBeanDefinitionParserWithOptionalId
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
- PropertyPlaceholderBeanDefinitionParser
public abstract class SingleBeanDefinitionParserWithOptionalId
- extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Base class for those BeanDefinitionParser
implementations
that need to parse and define just a single BeanDefinition
that have a optional id attribute.
Use this BeanDefinitionParser
implementation
when you want to parse some arbitrarily complex XML into one or more
BeanDefinitions
with optional id attribute.
- Since:
- 1.0
- Version:
- 1.00, 04/09/2007
- Author:
- Jonhnny Weslley
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE |
Method Summary |
protected void |
doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
|
protected boolean |
shouldGenerateId()
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
doParse, getBeanClass, parseInternal |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleBeanDefinitionParserWithOptionalId
public SingleBeanDefinitionParserWithOptionalId()
doParse
protected final void doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Overrides:
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
shouldGenerateId
protected boolean shouldGenerateId()
- Overrides:
shouldGenerateId
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Copyright © 2007. All Rights Reserved.