Package org.wso2.carbon.mediator.cache
Class CacheMediatorSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorSerializer
-
- org.wso2.carbon.mediator.cache.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.
-
-
Constructor Summary
Constructors Constructor Description CacheMediatorSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMediatorClassName()
protected void
serializeChildren(org.apache.axiom.om.OMElement parent, List<org.apache.synapse.Mediator> list)
Creates XML representation of the child mediators.protected org.apache.axiom.om.OMElement
serializeSpecificMediator(org.apache.synapse.Mediator mediator)
Serializes the cache mediator into XML element.
-
-
-
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 classorg.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 attachedlist
- The mediators list for which the XML representation should be created
-
-