public abstract class AbstractBPBeanDefinitionParser extends Object
Type | Property and Description |
---|---|
protected boolean |
hasBus |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractBPBeanDefinitionParser.JAXBBeanFactory |
Constructor and Description |
---|
AbstractBPBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
static MutableBeanMetadata |
createObjectOfClass(ParserContext context,
String value) |
static PassThroughMetadata |
createPassThrough(ParserContext context,
Object value) |
static RefMetadata |
createRef(ParserContext context,
String value) |
Metadata |
createValue(ParserContext context,
QName qName) |
static ValueMetadata |
createValue(ParserContext context,
String value) |
protected MutableBeanMetadata |
getBus(ParserContext context,
String name) |
protected RefMetadata |
getBusRef(ParserContext context,
String name) |
protected JAXBContext |
getContext(Class<?> cls) |
protected boolean |
hasBusProperty() |
protected boolean |
isAttribute(String pre,
String name) |
protected boolean |
isNamespace(String name,
String prefix) |
protected void |
mapAttribute(MutableBeanMetadata bean,
Element e,
String name,
String val,
ParserContext context) |
protected void |
mapElement(ParserContext ctx,
MutableBeanMetadata bean,
Element el,
String name) |
protected void |
mapElementToJaxbProperty(ParserContext ctx,
MutableBeanMetadata bean,
Element parent,
QName name,
String propertyName,
Class<?> c) |
protected void |
mapElementToJaxbProperty(ParserContext ctx,
MutableBeanMetadata bean,
Element data,
String propertyName,
Class<?> c) |
protected void |
mapToProperty(MutableBeanMetadata bean,
String propertyName,
String val,
ParserContext context) |
protected boolean |
parseAttributes(Element element,
ParserContext ctx,
MutableBeanMetadata bean) |
protected void |
parseChildElements(Element element,
ParserContext ctx,
MutableBeanMetadata bean) |
protected Metadata |
parseListData(ParserContext context,
ComponentMetadata enclosingComponent,
Element element) |
protected Metadata |
parseMapData(ParserContext context,
ComponentMetadata enclosingComponent,
Element element) |
QName |
parseQName(Element element,
String t) |
protected void |
processBusAttribute(Element element,
ParserContext ctx,
MutableBeanMetadata bean,
String val) |
protected void |
processNameAttribute(Element element,
ParserContext ctx,
MutableBeanMetadata bean,
String val) |
protected void |
setFirstChildAsProperty(Element element,
ParserContext ctx,
MutableBeanMetadata bean,
String propertyName) |
protected boolean hasBusProperty()
public Metadata createValue(ParserContext context, QName qName)
protected Metadata parseListData(ParserContext context, ComponentMetadata enclosingComponent, Element element)
protected Metadata parseMapData(ParserContext context, ComponentMetadata enclosingComponent, Element element)
protected void setFirstChildAsProperty(Element element, ParserContext ctx, MutableBeanMetadata bean, String propertyName)
protected boolean parseAttributes(Element element, ParserContext ctx, MutableBeanMetadata bean)
protected void processBusAttribute(Element element, ParserContext ctx, MutableBeanMetadata bean, String val)
protected void processNameAttribute(Element element, ParserContext ctx, MutableBeanMetadata bean, String val)
protected void mapAttribute(MutableBeanMetadata bean, Element e, String name, String val, ParserContext context)
protected void mapElement(ParserContext ctx, MutableBeanMetadata bean, Element el, String name)
protected void mapToProperty(MutableBeanMetadata bean, String propertyName, String val, ParserContext context)
public static ValueMetadata createValue(ParserContext context, String value)
public static RefMetadata createRef(ParserContext context, String value)
public static PassThroughMetadata createPassThrough(ParserContext context, Object value)
public static MutableBeanMetadata createObjectOfClass(ParserContext context, String value)
protected MutableBeanMetadata getBus(ParserContext context, String name)
protected RefMetadata getBusRef(ParserContext context, String name)
protected void parseChildElements(Element element, ParserContext ctx, MutableBeanMetadata bean)
protected void mapElementToJaxbProperty(ParserContext ctx, MutableBeanMetadata bean, Element parent, QName name, String propertyName, Class<?> c)
protected void mapElementToJaxbProperty(ParserContext ctx, MutableBeanMetadata bean, Element data, String propertyName, Class<?> c)
protected JAXBContext getContext(Class<?> cls)
Copyright © 2016 JBoss by Red Hat. All rights reserved.