public abstract class EndpointSerializer extends Object
EndpointFactory
Modifier and Type | Field and Description |
---|---|
protected org.apache.axiom.om.OMFactory |
fac |
Modifier | Constructor and Description |
---|---|
protected |
EndpointSerializer() |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.om.OMElement |
getElementFromEndpoint(Endpoint endpoint)
Core method which is exposed to the external use, and serializes the
Endpoint to the
XML format |
static EndpointSerializer |
getEndpointSerializer(Endpoint endpoint)
Returns the EndpointSerializer implementation for the given endpoint.
|
protected void |
handleException(String message) |
protected void |
serializeCommonAttributes(Endpoint endpoint,
org.apache.axiom.om.OMElement element) |
protected abstract org.apache.axiom.om.OMElement |
serializeEndpoint(Endpoint endpoint)
Serializes the given endpoint implementation to an XML object.
|
protected void |
serializeProperties(PropertyInclude endpoint,
org.apache.axiom.om.OMElement element) |
protected void |
serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition,
org.apache.axiom.om.OMElement element) |
public static org.apache.axiom.om.OMElement getElementFromEndpoint(Endpoint endpoint)
Endpoint
to the
XML formatendpoint
- to be serializedprotected abstract org.apache.axiom.om.OMElement serializeEndpoint(Endpoint endpoint)
endpoint
- Endpoint implementation to be serialized.protected void serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition, org.apache.axiom.om.OMElement element)
protected void handleException(String message)
public static EndpointSerializer getEndpointSerializer(Endpoint endpoint)
endpoint
- Endpoint implementation.protected void serializeCommonAttributes(Endpoint endpoint, org.apache.axiom.om.OMElement element)
protected void serializeProperties(PropertyInclude endpoint, org.apache.axiom.om.OMElement element)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.