org.apache.synapse.config.xml.endpoints
Class DefaultEndpointSerializer

java.lang.Object
  extended by org.apache.synapse.config.xml.endpoints.EndpointSerializer
      extended by org.apache.synapse.config.xml.endpoints.DefaultEndpointSerializer
Direct Known Subclasses:
AddressEndpointSerializer

public class DefaultEndpointSerializer
extends EndpointSerializer

Serializes DefaultEndpoint to XML.

See Also:
DefaultEndpointFactory

Field Summary
 
Fields inherited from class org.apache.synapse.config.xml.endpoints.EndpointSerializer
fac
 
Constructor Summary
DefaultEndpointSerializer()
           
 
Method Summary
protected  OMElement serializeEndpoint(Endpoint endpoint)
          Serializes the given endpoint implementation to an XML object.
 OMElement serializeEndpointDefinition(EndpointDefinition endpointDefinition)
           
protected  void serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition, OMElement element)
           
 
Methods inherited from class org.apache.synapse.config.xml.endpoints.EndpointSerializer
getElementFromEndpoint, getEndpointSerializer, handleException, serializeCommonAttributes, serializeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEndpointSerializer

public DefaultEndpointSerializer()
Method Detail

serializeEndpoint

protected OMElement serializeEndpoint(Endpoint endpoint)
Description copied from class: EndpointSerializer
Serializes the given endpoint implementation to an XML object.

Specified by:
serializeEndpoint in class EndpointSerializer
Parameters:
endpoint - Endpoint implementation to be serialized.
Returns:
OMElement containing XML configuration.

serializeSpecificEndpointProperties

protected void serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition,
                                                   OMElement element)
Overrides:
serializeSpecificEndpointProperties in class EndpointSerializer

serializeEndpointDefinition

public OMElement serializeEndpointDefinition(EndpointDefinition endpointDefinition)


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