Class DefaultEndpointSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.endpoints.EndpointSerializer
-
- org.apache.synapse.config.xml.endpoints.DefaultEndpointSerializer
-
- Direct Known Subclasses:
AddressEndpointSerializer
,HTTPEndpointSerializer
public class DefaultEndpointSerializer extends EndpointSerializer
SerializesDefaultEndpoint
to XML.- See Also:
DefaultEndpointFactory
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.config.xml.endpoints.EndpointSerializer
fac
-
-
Constructor Summary
Constructors Constructor Description DefaultEndpointSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.axiom.om.OMElement
serializeEndpoint(Endpoint endpoint)
Serializes the given endpoint implementation to an XML object.org.apache.axiom.om.OMElement
serializeEndpointDefinition(EndpointDefinition endpointDefinition)
protected void
serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition, org.apache.axiom.om.OMElement element)
-
Methods inherited from class org.apache.synapse.config.xml.endpoints.EndpointSerializer
getElementFromEndpoint, getEndpointSerializer, handleException, serializeCommonAttributes, serializeProperties
-
-
-
-
Method Detail
-
serializeEndpoint
protected org.apache.axiom.om.OMElement serializeEndpoint(Endpoint endpoint)
Description copied from class:EndpointSerializer
Serializes the given endpoint implementation to an XML object.- Specified by:
serializeEndpoint
in classEndpointSerializer
- Parameters:
endpoint
- Endpoint implementation to be serialized.- Returns:
- OMElement containing XML configuration.
-
serializeSpecificEndpointProperties
protected void serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition, org.apache.axiom.om.OMElement element)
- Overrides:
serializeSpecificEndpointProperties
in classEndpointSerializer
-
serializeEndpointDefinition
public org.apache.axiom.om.OMElement serializeEndpointDefinition(EndpointDefinition endpointDefinition)
-
-