public abstract class AbstractBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Type | Property and Description |
---|---|
protected boolean |
hasBus |
Modifier and Type | Field and Description |
---|---|
static String |
WIRE_BUS_ATTRIBUTE |
static String |
WIRE_BUS_CREATE |
static String |
WIRE_BUS_HANDLER |
static String |
WIRE_BUS_NAME |
Constructor and Description |
---|
AbstractBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected 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<?> |
getBeanClass() |
protected Class<?> |
getBeanClass(Element e) |
protected Element |
getFirstChild(Element element) |
protected String |
getIdOrName(Element elem) |
protected String |
getJaxbPackage() |
protected String |
getSuffix() |
protected boolean |
hasBusProperty() |
protected boolean |
isAttribute(String pre,
String name) |
protected void |
mapAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
Element e,
String name,
String val) |
protected void |
mapAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
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 |
mapElementToJaxbBean(Element data,
Class<?> cls,
Class<?> factory,
String method,
Object... args) |
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) |
protected void |
mapElementToJaxbProperty(Element data,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
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,
JAXBContext ctx,
Class<T> cls) |
doParse, getBeanClassName, getParentName, parseInternal
public static final String WIRE_BUS_ATTRIBUTE
public static final String WIRE_BUS_NAME
public static final String WIRE_BUS_CREATE
public static final String WIRE_BUS_HANDLER
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected boolean parseAttributes(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
protected boolean parseAttribute(Element element, Attr node, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
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 void parseChildElements(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
public Class<?> getBeanClass()
public void setBeanClass(Class<?> beanClass)
protected Class<?> getBeanClass(Element e)
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected void mapAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, Element e, String name, String val)
protected void mapAttribute(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, 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)
protected String resolveId(Element elem, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext ctx) throws org.springframework.beans.factory.BeanDefinitionStoreException
resolveId
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.BeanDefinitionStoreException
protected boolean hasBusProperty()
protected String getSuffix()
protected void setFirstChildAsProperty(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName)
protected 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 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)
protected void mapElementToJaxbProperty(Element data, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, Class<?> c)
public void mapElementToJaxbPropertyFactory(Element data, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, Class<?> type, Class<?> factory, String method, Object... args)
public org.springframework.beans.factory.support.AbstractBeanDefinition mapElementToJaxbBean(Element data, Class<?> cls, Class<?> factory, String method, Object... args)
public org.springframework.beans.factory.support.AbstractBeanDefinition mapElementToJaxbBean(Element data, Class<?> cls, Class<?> factory, Class<?> jaxbClass, String method, Object... args)
protected static <T> T unmarshalFactoryString(String s, JAXBContext ctx, Class<T> cls)
protected String getJaxbPackage()
protected void mapToProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, String val)
Apache CXF