org.codehaus.xfire.handler.dom
Class Message
java.lang.Object
org.codehaus.xfire.handler.dom.Message
public class Message
- extends java.lang.Object
Holds a SOAP message as a DOM4J document. There are also
helper methods to grab the SOAP Body and/or Header.
- Since:
- Feb 13, 2004
- Author:
- Dan Diephouse
Constructor Summary |
Message(org.dom4j.Document message)
|
Message(java.lang.String soapVersion)
Creates a SOAP Envelope, Body and Header for the appropriate SOAP version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message(org.dom4j.Document message)
Message
public Message(java.lang.String soapVersion)
- Creates a SOAP Envelope, Body and Header for the appropriate SOAP version.
getBody
public org.dom4j.Element getBody()
- Returns:
- Returns the body.
getHeader
public org.dom4j.Element getHeader()
- Returns:
- Returns the header. If it doesn't exist, it is created.
getMessage
public org.dom4j.Document getMessage()
- Returns:
- Returns the message.
getSoapVersion
public java.lang.String getSoapVersion()
- Returns:
- Returns the soapVersion.
Copyright © 2004 Codehaus. All Rights Reserved.