Package org.apache.synapse.config.xml
Class SynapseMediatorSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorSerializer
-
- org.apache.synapse.config.xml.AbstractListMediatorSerializer
-
- org.apache.synapse.config.xml.SynapseMediatorSerializer
-
- All Implemented Interfaces:
MediatorSerializer
public class SynapseMediatorSerializer extends AbstractListMediatorSerializer
<rules> mediator+ <rules>
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
DESCRIPTION_Q, fac, log, nullNS, PROP_Q, synNS
-
-
Constructor Summary
Constructors Constructor Description SynapseMediatorSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMediatorClassName()
Return the class name of the mediator which can be serializedorg.apache.axiom.om.OMElement
serializeSpecificMediator(Mediator m)
Specific mediator factory implementations should implement this method to build theMediator
by the given XML configuration-
Methods inherited from class org.apache.synapse.config.xml.AbstractListMediatorSerializer
serializeChildren
-
Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
handleException, handleException, saveTracingState, serializeComments, serializeComments, serializeMediator, serializeMediatorProperties, serializeMediatorProperties, serializeNamespaces, serializeProperties
-
-
-
-
Method Detail
-
serializeSpecificMediator
public org.apache.axiom.om.OMElement serializeSpecificMediator(Mediator m)
Description copied from class:AbstractMediatorSerializer
Specific mediator factory implementations should implement this method to build theMediator
by the given XML configuration- Specified by:
serializeSpecificMediator
in classAbstractMediatorSerializer
- Parameters:
m
- mediator to be serialized- Returns:
- serialized element of the mediator
-
getMediatorClassName
public String getMediatorClassName()
Description copied from interface:MediatorSerializer
Return the class name of the mediator which can be serialized- Returns:
- the class name
-
-