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(BeanDefinitionBuilder bean,
BusWiringType type) |
protected void |
addBusWiringAttribute(BeanDefinitionBuilder bean,
BusWiringType type,
String busName,
ParserContext ctx) |
protected void |
doParse(Element element,
ParserContext ctx,
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(BeanDefinitionBuilder bean,
Element e,
String name,
String val) |
protected void |
mapAttribute(BeanDefinitionBuilder bean,
String name,
String val) |
protected void |
mapElement(ParserContext ctx,
BeanDefinitionBuilder bean,
Element e,
String name) |
AbstractBeanDefinition |
mapElementToJaxbBean(Element data,
Class<?> cls,
Class<?> factory,
Class<?> jaxbClass,
String method,
Object... args) |
AbstractBeanDefinition |
mapElementToJaxbBean(Element data,
Class<?> cls,
Class<?> factory,
String method,
Object... args) |
protected void |
mapElementToJaxbProperty(Element parent,
BeanDefinitionBuilder bean,
QName name,
String propertyName) |
protected void |
mapElementToJaxbProperty(Element parent,
BeanDefinitionBuilder bean,
QName name,
String propertyName,
Class<?> c) |
protected void |
mapElementToJaxbProperty(Element data,
BeanDefinitionBuilder bean,
String propertyName,
Class<?> c) |
void |
mapElementToJaxbPropertyFactory(Element data,
BeanDefinitionBuilder bean,
String propertyName,
Class<?> type,
Class<?> factory,
String method,
Object... args) |
protected void |
mapToProperty(BeanDefinitionBuilder bean,
String propertyName,
String val) |
protected boolean |
parseAttribute(Element element,
Attr node,
ParserContext ctx,
BeanDefinitionBuilder bean) |
protected boolean |
parseAttributes(Element element,
ParserContext ctx,
BeanDefinitionBuilder bean) |
protected void |
parseChildElements(Element element,
ParserContext ctx,
BeanDefinitionBuilder bean) |
protected QName |
parseQName(Element element,
String t) |
protected boolean |
processBusAttribute(Element element,
ParserContext ctx,
BeanDefinitionBuilder bean,
String val) |
protected void |
processNameAttribute(Element element,
ParserContext ctx,
BeanDefinitionBuilder bean,
String val) |
protected String |
resolveId(Element elem,
AbstractBeanDefinition definition,
ParserContext ctx) |
void |
setBeanClass(Class<?> beanClass) |
protected void |
setFirstChildAsProperty(Element element,
ParserContext ctx,
BeanDefinitionBuilder bean,
String propertyName) |
protected static <T> T |
unmarshalFactoryString(String s,
JAXBContext ctx,
Class<T> cls) |
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, ParserContext ctx, BeanDefinitionBuilder bean)
protected boolean parseAttributes(Element element, ParserContext ctx, BeanDefinitionBuilder bean)
protected boolean parseAttribute(Element element, Attr node, ParserContext ctx, BeanDefinitionBuilder bean)
protected boolean processBusAttribute(Element element, ParserContext ctx, BeanDefinitionBuilder bean, String val)
protected void processNameAttribute(Element element, ParserContext ctx, BeanDefinitionBuilder bean, String val)
protected void parseChildElements(Element element, ParserContext ctx, BeanDefinitionBuilder bean)
public Class<?> getBeanClass()
public void setBeanClass(Class<?> beanClass)
protected void mapAttribute(BeanDefinitionBuilder bean, Element e, String name, String val)
protected void mapElement(ParserContext ctx, BeanDefinitionBuilder bean, Element e, String name)
protected String resolveId(Element elem, AbstractBeanDefinition definition, ParserContext ctx) throws BeanDefinitionStoreException
BeanDefinitionStoreException
protected boolean hasBusProperty()
protected String getSuffix()
protected void setFirstChildAsProperty(Element element, ParserContext ctx, BeanDefinitionBuilder bean, String propertyName)
protected void addBusWiringAttribute(BeanDefinitionBuilder bean, BusWiringType type)
protected void addBusWiringAttribute(BeanDefinitionBuilder bean, BusWiringType type, String busName, ParserContext ctx)
protected void mapElementToJaxbProperty(Element parent, BeanDefinitionBuilder bean, QName name, String propertyName)
protected void mapElementToJaxbProperty(Element parent, BeanDefinitionBuilder bean, QName name, String propertyName, Class<?> c)
protected void mapElementToJaxbProperty(Element data, BeanDefinitionBuilder bean, String propertyName, Class<?> c)
public void mapElementToJaxbPropertyFactory(Element data, BeanDefinitionBuilder bean, String propertyName, Class<?> type, Class<?> factory, String method, Object... args)
public AbstractBeanDefinition mapElementToJaxbBean(Element data, Class<?> cls, Class<?> factory, String method, Object... args)
public 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(BeanDefinitionBuilder bean, String propertyName, String val)
Copyright © 2016 JBoss by Red Hat. All rights reserved.