public class ScheduledTasksBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
ScheduledTasksBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(org.w3c.dom.Element element,
ParserContext parserContext,
BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected java.lang.String |
getBeanClassName(org.w3c.dom.Element element)
Determine the bean class name corresponding to the supplied
Element . |
protected boolean |
shouldGenerateId()
Should an ID be generated instead of read from the passed in
Element ? |
doParse, getBeanClass, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
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 java.lang.String getBeanClassName(org.w3c.dom.Element element)
AbstractSingleBeanDefinitionParser
Element
.getBeanClassName
in class AbstractSingleBeanDefinitionParser
element
- the Element
that is being parsedElement
, or null
if noneAbstractSingleBeanDefinitionParser.getBeanClass(org.w3c.dom.Element)
protected void doParse(org.w3c.dom.Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
AbstractSingleBeanDefinitionParser
Element
and populate the supplied
BeanDefinitionBuilder
as required.
The default implementation delegates to the doParse
version without ParserContext argument.
doParse
in class AbstractSingleBeanDefinitionParser
element
- the XML element being parsedparserContext
- the object encapsulating the current state of the parsing processbuilder
- used to define the BeanDefinition
AbstractSingleBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder)