Package org.apache.synapse.config.xml
Class IterateMediatorSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorSerializer
-
- org.apache.synapse.config.xml.IterateMediatorSerializer
-
- All Implemented Interfaces:
MediatorSerializer
public class IterateMediatorSerializer extends AbstractMediatorSerializer
This class will be acting as the serializer for the IterateMediator which will convert the IterateMediator instance to the following xml configuration<iterate [continueParent=(true | false)] [preservePayload=(true | false)] (attachPath="xpath")? expression="xpath"> <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"] [endpoint="endpoint_ref"]> <sequence> (mediator)+ </sequence>? <endpoint> endpoint </endpoint>? </target>+ </iterate>
-
-
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 IterateMediatorSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMediatorClassName()
This method implements the getMediatorClassName of the interface MediatorSerializer and will be used in getting the mediator class name which will be serialized by this serializerorg.apache.axiom.om.OMElement
serializeSpecificMediator(Mediator m)
This method will implement the serialization logic of the IterateMediator class to the relevant xml configuration-
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)
This method will implement the serialization logic of the IterateMediator class to the relevant xml configuration- Specified by:
serializeSpecificMediator
in classAbstractMediatorSerializer
- Parameters:
m
- IterateMediator to be serialized- Returns:
- OMElement describing the serialized configuration of the IterateMediator
-
getMediatorClassName
public String getMediatorClassName()
This method implements the getMediatorClassName of the interface MediatorSerializer and will be used in getting the mediator class name which will be serialized by this serializer- Returns:
- String representing the full class name of the mediator
-
-