|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.pox.dom.DomPoxMessage
public class DomPoxMessage
Implementation of the PoxMessage interface that is based on a DOM Document.
Document| Constructor Summary | |
|---|---|
DomPoxMessage(Document document,
Transformer transformer,
String contentType)
Constructs a new instance of the DomPoxMessage with the given document. |
|
| Method Summary | |
|---|---|
Document |
getDocument()
Returns the document underlying this message. |
String |
getFaultReason()
|
Result |
getPayloadResult()
Returns the contents of the message as a Result. |
Source |
getPayloadSource()
Returns the contents of the message as a Source. |
boolean |
hasFault()
|
String |
toString()
|
void |
writeTo(OutputStream outputStream)
Writes the entire message to the given output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DomPoxMessage(Document document,
Transformer transformer,
String contentType)
DomPoxMessage with the given document.
document - the document to base the message on| Method Detail |
|---|
public Document getDocument()
public Result getPayloadResult()
WebServiceMessageResult.
Calling this method removes the current payload.
Implementations that are read-only will throw an UnsupportedOperationException.
getPayloadResult in interface WebServiceMessagepublic Source getPayloadSource()
WebServiceMessageSource. Depending on the implementation, this can be retrieved multiple times, or just a single time.
getPayloadSource in interface WebServiceMessagepublic boolean hasFault()
public String getFaultReason()
public String toString()
toString in class Object
public void writeTo(OutputStream outputStream)
throws IOException
WebServiceMessageIf the given stream is an instance of TransportOutputStream, the corresponding headers will be written as well.
writeTo in interface WebServiceMessageoutputStream - the stream to write to
IOException - if an I/O exception occurs
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||