class Jaxb2MarshallerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
<oxm:jaxb2-marshaller/>
element.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
JAXB2_MARSHALLER_CLASS_NAME |
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
Jaxb2MarshallerBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(org.w3c.dom.Element element,
ParserContext parserContext,
BeanDefinitionBuilder beanDefinitionBuilder)
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 . |
doParse, getBeanClass, getParentName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
private static final java.lang.String JAXB2_MARSHALLER_CLASS_NAME
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 beanDefinitionBuilder)
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 processbeanDefinitionBuilder
- used to define the BeanDefinition
AbstractSingleBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder)