Class XMLToEndpointMapper

  • All Implemented Interfaces:
    XMLToObjectMapper

    public class XMLToEndpointMapper
    extends Object
    implements XMLToObjectMapper
    This is a generic XMLToObjectMapper implementation for all endpoint types. Use this if the endpoint type is not known at the time mapper is created. If the endpoint type is known use the EndpointFactory implementation for that specific endpoint.
    See Also:
    XMLToObjectMapper
    • Method Detail

      • getObjectFromOMNode

        public Object getObjectFromOMNode​(org.apache.axiom.om.OMNode om,
                                          Properties properties)
        Constructs the Endpoint implementation for the given OMNode.
        Specified by:
        getObjectFromOMNode in interface XMLToObjectMapper
        Parameters:
        om - OMNode containing endpoint configuration. This should be an OMElement.
        properties - bag of properties to pass in any information to the factory
        Returns:
        Endpoint implementation for the given OMNode.