|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.io.parser.soap.SOAPParser
public class SOAPParser
Parses a SOAP document and returns a SOAPEnvelope. It supports
Document/Literal, RPC/Literal, and RPC/encoded styles of SOAP.
| Constructor Summary | ||
|---|---|---|
SOAPParser()
Constructs a SOAPParser. |
||
| Method Summary | ||
|---|---|---|
SOAPEnvelope |
parse(InputStream in)
Parses an InputStream that contains a SOAPEnvelope,
and returns a SOAPEnvelope object. |
|
SOAPEnvelope |
parse(String soapString)
Parses a String that contains a SOAP envelope, and returns a
SOAPEnvelope. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SOAPParser()
throws ParserConfigurationException,
SAXException
SOAPParser.
ParserConfigurationException - If there is a configuration problem that prevents the
creation of the SAX Parser.
SAXException - If there is a problem creating the underlying SAX Parser.| Method Detail |
|---|
public SOAPEnvelope parse(InputStream in)
throws IOException,
SAXException
InputStream that contains a SOAPEnvelope,
and returns a SOAPEnvelope object.
in - InputSteam that contains a SOAP envelope.
IOException - If there is a problem reading the input.
SAXException - If there is a problem interpreting the XML.
public SOAPEnvelope parse(String soapString)
throws IOException,
SAXException
String that contains a SOAP envelope, and returns a
SOAPEnvelope.
soapString - A String that contains a SOAP document.
IOException - If there is a problem reading the input.
SAXException - If there is a problem interpreting the XML.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.