Base class for those
BeanDefinitionParser implementations that
need to parse and define just a singleBeanDefinition.
Extend this parser class when you want to create a single bean definition
from an arbitrarily complex XML element. You may wish to consider extending
the
AbstractSimpleBeanDefinitionParser when you want to create a
single bean definition from a relatively simple custom XML element.
Note that, for application classes, it is generally preferable to
override
AbstractSingleBeanDefinitionParser.getBeanClassName instead, in order to avoid a direct
dependence on the bean implementation class.
The default implementation delegates to the doParse
version without ParserContext argument.
Parameters: element - the XML element being parsed Parameters: parserContext - the object encapsulating the current state of the parsing process Parameters: builder - used to define the BeanDefinition See Also:AbstractSingleBeanDefinitionParser.doParse(Element,BeanDefinitionBuilder)
Determine the bean class corresponding to the supplied
Element .
Note that, for application classes, it is generally preferable to
override
AbstractSingleBeanDefinitionParser.getBeanClassName instead, in order to avoid a direct
dependence on the bean implementation class. The BeanDefinitionParser
and its NamespaceHandler can be used within an IDE plugin then, even
if the application classes are not available on the plugin's classpath.
Parameters: element - the Element that is being parsed the Class of the bean that is being defined via parsingthe supplied Element See Also:AbstractSingleBeanDefinitionParser.getBeanClassName
Determine the bean class name corresponding to the supplied
Element .
Parameters: element - the Element that is being parsed the class name of the bean that is being defined via parsingthe supplied Element See Also:AbstractSingleBeanDefinitionParser.getBeanClass