| java.lang.Object org.springframework.xml.transform.TransformerObjectSupport org.springframework.ws.server.endpoint.AbstractXomPayloadEndpoint
AbstractXomPayloadEndpoint | abstract public class AbstractXomPayloadEndpoint extends TransformerObjectSupport implements PayloadEndpoint(Code) | | Abstract base class for endpoints that handle the message payload as XOM elements. Offers the message payload as a
XOM Element , and allows subclasses to create a response by returning an Element .
An AbstractXomPayloadEndpoint only accept one payload element. Multiple payload elements are not in
accordance with WS-I.
This class tries to use Java reflection to access some of the non-public classes of XOM
(nu.xom.xslt.XOMResult and nu.xom.xslt.XOMSource ). If these classes cannot be accessed
because of security restrictions, a slower approach is used. You can specify whether you want to use the faster, but
non-public reflection-based approach by calling
AbstractXomPayloadEndpoint.AbstractXomPayloadEndpoint(boolean) .
author: Arjen Poutsma See Also: Element since: 1.0.0 |
Constructor Summary | |
protected | AbstractXomPayloadEndpoint() Creates a new instance of AbstractXomPayloadEndpoint using reflection to access faster, but
non-public XOM classes. | protected | AbstractXomPayloadEndpoint(boolean useReflection) Creates a new instance of AbstractXomPayloadEndpoint . |
AbstractXomPayloadEndpoint | protected AbstractXomPayloadEndpoint()(Code) | | Creates a new instance of AbstractXomPayloadEndpoint using reflection to access faster, but
non-public XOM classes.
|
AbstractXomPayloadEndpoint | protected AbstractXomPayloadEndpoint(boolean useReflection)(Code) | | Creates a new instance of AbstractXomPayloadEndpoint .
Parameters: useReflection - specifies whether to use faster, but non-public XOM classes (true ); or to use aconverting approach (false ) |
invokeInternal | abstract protected Element invokeInternal(Element requestElement) throws Exception(Code) | | Template method. Subclasses must implement this. Offers the request payload as a XOM Element , and
allows subclasses to return a response Element .
Parameters: requestElement - the contents of the SOAP message as XOM element the response element. Can be null to specify no response. |
Fields inherited from org.springframework.xml.transform.TransformerObjectSupport | final protected Log logger(Code)(Java Doc)
|
|
|