org.apache.synapse.config.xml
Class TemplateMediatorSerializer

java.lang.Object
  extended by org.apache.synapse.config.xml.AbstractMediatorSerializer
      extended by org.apache.synapse.config.xml.AbstractListMediatorSerializer
          extended by org.apache.synapse.config.xml.TemplateMediatorSerializer
All Implemented Interfaces:
MediatorSerializer

public class TemplateMediatorSerializer
extends AbstractListMediatorSerializer

Serializer class for Template to serialize into a configuration as follows


Field Summary
 
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
DESCRIPTION_Q, fac, log, nullNS, PROP_Q, synNS
 
Constructor Summary
TemplateMediatorSerializer()
           
 
Method Summary
 String getMediatorClassName()
          Return the class name of the mediator which can be serialized
protected  OMElement serializeSpecificMediator(Mediator m)
          Specific mediator factory implementations should implement this method to build the Mediator by the given XML configuration
 
Methods inherited from class org.apache.synapse.config.xml.AbstractListMediatorSerializer
serializeChildren
 
Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
handleException, handleException, saveTracingState, serializeMediator, serializeMediatorProperties, serializeMediatorProperties, serializeNamespaces, serializeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateMediatorSerializer

public TemplateMediatorSerializer()
Method Detail

serializeSpecificMediator

protected OMElement serializeSpecificMediator(Mediator m)
Description copied from class: AbstractMediatorSerializer
Specific mediator factory implementations should implement this method to build the Mediator by the given XML configuration

Specified by:
serializeSpecificMediator in class AbstractMediatorSerializer
Parameters:
m - mediator to be serialized
Returns:
serialized element of the mediator

getMediatorClassName

public String getMediatorClassName()
Description copied from interface: MediatorSerializer
Return the class name of the mediator which can be serialized

Returns:
the class name


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.