abstract class AbstractPropertyLoadingBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
AbstractPropertyLoadingBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(org.w3c.dom.Element element,
BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected boolean |
shouldGenerateId()
Should an ID be generated instead of read from the passed in
Element ? |
doParse, getBeanClass, getBeanClassName, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback
AbstractPropertyLoadingBeanDefinitionParser()
protected boolean shouldGenerateId()
AbstractBeanDefinitionParser
Element
?
Disabled by default; subclasses can override this to enable ID generation. Note that this flag is about always generating an ID; the parser won't even check for an "id" attribute in this case.
shouldGenerateId
in class AbstractBeanDefinitionParser
protected void doParse(org.w3c.dom.Element element, BeanDefinitionBuilder builder)
AbstractSingleBeanDefinitionParser
Element
and populate the supplied
BeanDefinitionBuilder
as required.
The default implementation does nothing.
doParse
in class AbstractSingleBeanDefinitionParser
element
- the XML element being parsedbuilder
- used to define the BeanDefinition