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.
The resulting BeanDefinition will be automatically registered
with the BeanDefinitionRegistry.
Your job simply is to parse the custom XML Element
into a single BeanDefinition.
Determine the bean class corresponding to the supplied Element.
Note that, for application classes, it is generally preferable to
override getBeanClassName(org.w3c.dom.Element) 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.
element - the Element that is being parsed
the Class of the bean that is being defined via parsing
the supplied Element, or null if none