Class AbstractBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
AbstractFactoryBeanDefinitionParser
,BusDefinitionParser
,SimpleBeanDefinitionParser
public abstract class AbstractBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addBusWiringAttribute
(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, BusWiringType type) protected void
addBusWiringAttribute
(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, BusWiringType type, String busName, org.springframework.beans.factory.xml.ParserContext ctx) protected void
doParse
(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) Class<?>
protected Class<?>
protected Element
getFirstChild
(Element element) protected String
getIdOrName
(Element elem) protected String
protected String
protected boolean
protected boolean
isAttribute
(String pre, String name) protected void
mapAttribute
(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String name, String val) protected void
mapAttribute
(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, Element e, String name, String val) protected void
mapElement
(org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, Element e, String name) org.springframework.beans.factory.support.AbstractBeanDefinition
mapElementToJaxbBean
(Element data, Class<?> cls, Class<?> factory, Class<?> jaxbClass, String method, Object... args) org.springframework.beans.factory.support.AbstractBeanDefinition
protected void
mapElementToJaxbProperty
(Element data, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, Class<?> c) protected void
mapElementToJaxbProperty
(Element parent, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, QName name, String propertyName) protected void
mapElementToJaxbProperty
(Element parent, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, QName name, String propertyName, Class<?> c) void
mapElementToJaxbPropertyFactory
(Element data, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, Class<?> type, Class<?> factory, String method, Object... args) protected void
mapToProperty
(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, String val) protected boolean
parseAttribute
(Element element, Attr node, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) protected boolean
parseAttributes
(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) protected void
parseChildElements
(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) protected QName
parseQName
(Element element, String t) protected boolean
processBusAttribute
(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String val) protected void
processNameAttribute
(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String val) protected String
resolveId
(Element elem, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext ctx) void
setBeanClass
(Class<?> beanClass) protected void
setFirstChildAsProperty
(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName) protected static <T> T
unmarshalFactoryString
(String s, jakarta.xml.bind.JAXBContext ctx, Class<T> cls) Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Field Details
-
WIRE_BUS_ATTRIBUTE
-
WIRE_BUS_NAME
-
WIRE_BUS_CREATE
-
WIRE_BUS_HANDLER
- See Also:
-
-
Constructor Details
-
AbstractBeanDefinitionParser
public AbstractBeanDefinitionParser()
-
-
Method Details
-
doParse
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) - Overrides:
doParse
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
parseAttributes
protected boolean parseAttributes(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) -
parseAttribute
-
processBusAttribute
-
processNameAttribute
-
parseChildElements
protected void parseChildElements(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) -
getBeanClass
-
setBeanClass
-
getBeanClass
- Overrides:
getBeanClass
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
mapAttribute
-
mapAttribute
-
mapElement
-
resolveId
protected String resolveId(Element elem, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext ctx) - Overrides:
resolveId
in classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
hasBusProperty
protected boolean hasBusProperty() -
getSuffix
-
setFirstChildAsProperty
-
getFirstChild
-
addBusWiringAttribute
protected void addBusWiringAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, BusWiringType type) -
addBusWiringAttribute
protected void addBusWiringAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, BusWiringType type, String busName, org.springframework.beans.factory.xml.ParserContext ctx) -
mapElementToJaxbProperty
-
mapElementToJaxbProperty
-
mapElementToJaxbProperty
-
mapElementToJaxbPropertyFactory
-
mapElementToJaxbBean
-
mapElementToJaxbBean
-
unmarshalFactoryString
-
getJaxbPackage
-
mapToProperty
-
isAttribute
-
parseQName
-
getIdOrName
-