Class 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

    • Field Summary

      • Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer

        DESCRIPTION_Q, fac, log, nullNS, PROP_Q, synNS
    • 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 serializer
      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
      • Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer

        handleException, handleException, saveTracingState, serializeComments, serializeComments, serializeMediator, serializeMediatorProperties, serializeMediatorProperties, serializeNamespaces, serializeProperties
    • Constructor Detail

      • DataMapperMediatorSerializer

        public DataMapperMediatorSerializer()
    • 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 class org.apache.synapse.config.xml.AbstractMediatorSerializer
        Parameters:
        mediator - An instance of DataMapperMediator to be serialized
        Returns:
        OMElement describing the serialized configuration of the DataMapperMediator