| java.lang.Object org.springframework.xml.transform.TransformerObjectSupport org.springframework.ws.server.endpoint.AbstractDom4jPayloadEndpoint
AbstractDom4jPayloadEndpoint | abstract public class AbstractDom4jPayloadEndpoint extends TransformerObjectSupport implements PayloadEndpoint(Code) | | Abstract base class for endpoints that handle the message payload as dom4j elements. Offers the message payload as a
dom4j Element , and allows subclasses to create a response by returning an Element .
An AbstractDom4JPayloadEndpoint only accept one payload element. Multiple payload elements are not in
accordance with WS-I.
author: Arjen Poutsma See Also: org.dom4j.Element since: 1.0.0 |
Method Summary | |
final public Source | invoke(Source request) | abstract protected Element | invokeInternal(Element requestElement, Document responseDocument) Template method. |
invokeInternal | abstract protected Element invokeInternal(Element requestElement, Document responseDocument) throws Exception(Code) | | Template method. Subclasses must implement this. Offers the request payload as a dom4j Element , and
allows subclasses to return a response Element .
The given dom4j Document is to be used for constructing a response element, by using
addElement .
Parameters: requestElement - the contents of the SOAP message as dom4j elements Parameters: responseDocument - a dom4j document to be used for constructing a response 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)
|
|
|