Class DataMapperMediatorSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorSerializer
-
- org.wso2.carbon.mediator.datamapper.config.xml.DataMapperMediatorSerializer
-
- All Implemented Interfaces:
org.apache.synapse.config.xml.MediatorSerializer
public class DataMapperMediatorSerializer extends org.apache.synapse.config.xml.AbstractMediatorSerializer
Serializer for the DataMapperMediator which converts the DataMapperMediator instance to the xml configuration
-
-
Constructor Summary
Constructors Constructor Description DataMapperMediatorSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMediatorClassName()
Gets the mediator class name which will be serialized by the serializerprotected org.apache.axiom.om.OMElement
serializeSpecificMediator(org.apache.synapse.Mediator mediator)
Holds the serialization logic of the DataMapperMediator class to the relevant xml configuration
-
-
-
Method Detail
-
getMediatorClassName
public String getMediatorClassName()
Gets the mediator class name which will be serialized by the serializer- Returns:
- String representing the full class name of the mediator
-
serializeSpecificMediator
protected org.apache.axiom.om.OMElement serializeSpecificMediator(org.apache.synapse.Mediator mediator)
Holds the serialization logic of the DataMapperMediator class to the relevant xml configuration- Specified by:
serializeSpecificMediator
in classorg.apache.synapse.config.xml.AbstractMediatorSerializer
- Parameters:
mediator
- An instance of DataMapperMediator to be serialized- Returns:
- OMElement describing the serialized configuration of the DataMapperMediator
-
-