|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.config.xml.MediatorPropertySerializer
public class MediatorPropertySerializer
A utility class for serializing instances of MediatorProperty objects by reading through a given XML configuration
<element>
<property name="string" (value="literal" | expression="xpath")/>*
</element>
| Field Summary | |
|---|---|
protected static OMFactory |
fac
|
protected static OMNamespace |
nullNS
|
protected static QName |
PROP_Q
|
protected static OMNamespace |
synNS
|
| Constructor Summary | |
|---|---|
MediatorPropertySerializer()
|
|
| Method Summary | |
|---|---|
static void |
serializeMediatorProperties(OMElement parent,
Collection<MediatorProperty> props)
Serialize all the properties to the given paren element. |
static void |
serializeMediatorProperties(OMElement parent,
Collection<MediatorProperty> props,
QName childElementName)
Serialize all the properties to the given paren element. |
static void |
serializeMediatorProperty(OMElement parent,
MediatorProperty mp)
Serialize the property to the given paren element. |
static void |
serializeMediatorProperty(OMElement parent,
MediatorProperty mp,
QName childElementName)
Serialize the property to the given paren element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final OMFactory fac
protected static final OMNamespace synNS
protected static final OMNamespace nullNS
protected static final QName PROP_Q
| Constructor Detail |
|---|
public MediatorPropertySerializer()
| Method Detail |
|---|
public static void serializeMediatorProperties(OMElement parent,
Collection<MediatorProperty> props)
parent - element to which property elements should be addedprops - Collection of propertis
public static void serializeMediatorProperties(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 created
public static void serializeMediatorProperty(OMElement parent,
MediatorProperty mp)
parent - element to which property elements should be addedmp - a property to be serialized
public static void serializeMediatorProperty(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 created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||