org.apache.cxf.configuration.blueprint
Class AbstractBPBeanDefinitionParser
java.lang.Object
org.apache.cxf.configuration.blueprint.AbstractBPBeanDefinitionParser
- Direct Known Subclasses:
- BusDefinitionParser, ExternalAttachmentProviderBPDefinitionParser, HttpConduitBPBeanDefinitionParser, HttpDestinationBPBeanDefinitionParser, JettyServerEngineFactoryParser, JettyServerEngineParser, PolicyBPDefinitionParser, PolicyEngineBPDefinitionParser, PolicyFeatureBPDefinitionParser, RMBPBeanDefinitionParser, SimpleBPBeanDefinitionParser, SoapBindingBPInfoConfigDefinitionParser
public abstract class AbstractBPBeanDefinitionParser
- extends Object
Method Summary |
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 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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBPBeanDefinitionParser
public AbstractBPBeanDefinitionParser()
hasBusProperty
protected boolean hasBusProperty()
createValue
public Metadata createValue(ParserContext context,
QName qName)
parseListData
protected Metadata parseListData(ParserContext context,
ComponentMetadata enclosingComponent,
Element element)
parseMapData
protected Metadata parseMapData(ParserContext context,
ComponentMetadata enclosingComponent,
Element element)
setFirstChildAsProperty
protected void setFirstChildAsProperty(Element element,
ParserContext ctx,
MutableBeanMetadata bean,
String propertyName)
parseQName
public QName parseQName(Element element,
String t)
parseAttributes
protected boolean parseAttributes(Element element,
ParserContext ctx,
MutableBeanMetadata bean)
processBusAttribute
protected void processBusAttribute(Element element,
ParserContext ctx,
MutableBeanMetadata bean,
String val)
processNameAttribute
protected void processNameAttribute(Element element,
ParserContext ctx,
MutableBeanMetadata bean,
String val)
mapAttribute
protected void mapAttribute(MutableBeanMetadata bean,
Element e,
String name,
String val,
ParserContext context)
isAttribute
protected boolean isAttribute(String pre,
String name)
isNamespace
protected boolean isNamespace(String name,
String prefix)
mapElement
protected void mapElement(ParserContext ctx,
MutableBeanMetadata bean,
Element el,
String name)
mapToProperty
protected void mapToProperty(MutableBeanMetadata bean,
String propertyName,
String val,
ParserContext context)
createValue
public static ValueMetadata createValue(ParserContext context,
String value)
createRef
public static RefMetadata createRef(ParserContext context,
String value)
createPassThrough
public static PassThroughMetadata createPassThrough(ParserContext context,
Object value)
createObjectOfClass
public static MutableBeanMetadata createObjectOfClass(ParserContext context,
String value)
getBus
protected MutableBeanMetadata getBus(ParserContext context,
String name)
getBusRef
protected RefMetadata getBusRef(ParserContext context,
String name)
parseChildElements
protected void parseChildElements(Element element,
ParserContext ctx,
MutableBeanMetadata bean)
mapElementToJaxbProperty
protected void mapElementToJaxbProperty(ParserContext ctx,
MutableBeanMetadata bean,
Element parent,
QName name,
String propertyName,
Class<?> c)
mapElementToJaxbProperty
protected void mapElementToJaxbProperty(ParserContext ctx,
MutableBeanMetadata bean,
Element data,
String propertyName,
Class<?> c)
Apache CXF