public class MediatorPropertySerializer extends Object
<element> <property name="string" (value="literal" | expression="xpath")/>* </element>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.axiom.om.OMFactory |
fac |
protected static org.apache.axiom.om.OMNamespace |
nullNS |
protected static QName |
PROP_Q |
protected static org.apache.axiom.om.OMNamespace |
synNS |
Constructor and Description |
---|
MediatorPropertySerializer() |
Modifier and Type | Method and Description |
---|---|
static void |
serializeMediatorProperties(org.apache.axiom.om.OMElement parent,
Collection<MediatorProperty> props)
Serialize all the properties to the given paren element.
|
static void |
serializeMediatorProperties(org.apache.axiom.om.OMElement parent,
Collection<MediatorProperty> props,
QName childElementName)
Serialize all the properties to the given paren element.
|
static void |
serializeMediatorProperty(org.apache.axiom.om.OMElement parent,
MediatorProperty mp)
Serialize the property to the given paren element.
|
static void |
serializeMediatorProperty(org.apache.axiom.om.OMElement parent,
MediatorProperty mp,
QName childElementName)
Serialize the property to the given paren element.
|
protected static final org.apache.axiom.om.OMFactory fac
protected static final org.apache.axiom.om.OMNamespace synNS
protected static final org.apache.axiom.om.OMNamespace nullNS
protected static final QName PROP_Q
public static void serializeMediatorProperties(org.apache.axiom.om.OMElement parent, Collection<MediatorProperty> props)
parent
- element to which property elements should be addedprops
- Collection
of propertispublic static void serializeMediatorProperties(org.apache.axiom.om.OMElement parent, Collection<MediatorProperty> props, QName childElementName)
parent
- element to which property elements should be addedprops
- Collection
of propertischildElementName
- QNmae
of the property element to be createdpublic static void serializeMediatorProperty(org.apache.axiom.om.OMElement parent, MediatorProperty mp)
parent
- element to which property elements should be addedmp
- a property to be serializedpublic static void serializeMediatorProperty(org.apache.axiom.om.OMElement parent, MediatorProperty mp, QName childElementName)
parent
- element to which property elements should be addedmp
- a property to be serializedchildElementName
- QName
of the element to be createdCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.