Class CacheMediatorSerializer

  • All Implemented Interfaces:
    org.apache.synapse.config.xml.MediatorSerializer

    public class CacheMediatorSerializer
    extends org.apache.synapse.config.xml.AbstractMediatorSerializer
    Serializes the given Cache mediator to an OMElement.
    • Field Summary

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

        DESCRIPTION_Q, fac, log, nullNS, PROP_Q, synNS
    • Constructor Detail

      • CacheMediatorSerializer

        public CacheMediatorSerializer()
    • Method Detail

      • serializeSpecificMediator

        protected org.apache.axiom.om.OMElement serializeSpecificMediator​(org.apache.synapse.Mediator mediator)
        Serializes the cache mediator into XML element.
        Specified by:
        serializeSpecificMediator in class org.apache.synapse.config.xml.AbstractMediatorSerializer
        Parameters:
        mediator - mediator to be serialized
        Returns:
        the OMElement to which the serialization should be attached
      • getMediatorClassName

        public String getMediatorClassName()
      • serializeChildren

        protected void serializeChildren​(org.apache.axiom.om.OMElement parent,
                                         List<org.apache.synapse.Mediator> list)
        Creates XML representation of the child mediators.
        Parameters:
        parent - The mediator for which the XML representation child should be attached
        list - The mediators list for which the XML representation should be created