org.ksoap
Class SoapEnvelope

java.lang.Object
  |
  +--org.ksoap.SoapEnvelope

public class SoapEnvelope
extends java.lang.Object

The SOAP envelope.


Constructor Summary
SoapEnvelope()
          deprecated
SoapEnvelope(ClassMap classMap)
           
 
Method Summary
 java.lang.Object getBody()
          Returns the body object of the envelope.
 java.lang.Object getResult()
          Returns the first property of the body object
 void parse(org.kxml.parser.AbstractXmlParser parser)
          Parses the SOAP envelope from the given parser
 void parseBody(org.kxml.parser.AbstractXmlParser parser)
           
 void parseHead(org.kxml.parser.AbstractXmlParser parser)
           
 void parseTail(org.kxml.parser.AbstractXmlParser parser)
           
 void setBody(java.lang.Object body)
           
 void setClassMap(ClassMap classMap)
           
 void setEncodingStyle(java.lang.String encodingStyle)
          Sets the encoding style.
 void write(org.kxml.io.AbstractXmlWriter writer)
          Writes the envelope and body to the given XML writer.
 void writeBody(org.kxml.io.AbstractXmlWriter writer)
          Overwrite this method for customized writing of the soap message body.
 void writeHead(org.kxml.io.AbstractXmlWriter writer)
          Writes the head including the encoding style attribute and the body start tag
 void writeTail(org.kxml.io.AbstractXmlWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapEnvelope

public SoapEnvelope()
deprecated

SoapEnvelope

public SoapEnvelope(ClassMap classMap)
Method Detail

getBody

public java.lang.Object getBody()
Returns the body object of the envelope.

getResult

public java.lang.Object getResult()
Returns the first property of the body object

parse

public void parse(org.kxml.parser.AbstractXmlParser parser)
           throws java.io.IOException
Parses the SOAP envelope from the given parser

parseHead

public void parseHead(org.kxml.parser.AbstractXmlParser parser)
               throws java.io.IOException

parseBody

public void parseBody(org.kxml.parser.AbstractXmlParser parser)
               throws java.io.IOException

parseTail

public void parseTail(org.kxml.parser.AbstractXmlParser parser)
               throws java.io.IOException

setEncodingStyle

public void setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style.

write

public void write(org.kxml.io.AbstractXmlWriter writer)
           throws java.io.IOException
Writes the envelope and body to the given XML writer.

writeHead

public void writeHead(org.kxml.io.AbstractXmlWriter writer)
               throws java.io.IOException
Writes the head including the encoding style attribute and the body start tag

writeBody

public void writeBody(org.kxml.io.AbstractXmlWriter writer)
               throws java.io.IOException
Overwrite this method for customized writing of the soap message body.

writeTail

public void writeTail(org.kxml.io.AbstractXmlWriter writer)
               throws java.io.IOException

setBody

public void setBody(java.lang.Object body)

setClassMap

public void setClassMap(ClassMap classMap)