| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.soap.util.xml.XmlUtils
| Constructor Summary | |
| XmlUtils() | |
| Method Summary | |
| static Document | createDocument()Create a Document | 
| static void | dumpDOM(Document doc, java.lang.StringBuffer buf) | 
| static java.lang.String | extractMethodName(Envelope envelope)Get the method name from the envelope. | 
| static java.lang.String | extractServiceId(Envelope envelope)Get the service id from the envelope. | 
| static Document | parseXml(java.io.InputStream is)Parse the contents of the XML InputStream and return the XML document. | 
| static Document | parseXml(java.io.Reader reader)Parse the given XML source and return the XML document. | 
| static Document | parseXml(java.lang.String filename)Parse the given XML file and return the XML document. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public XmlUtils()
| Method Detail | 
public static java.lang.String extractServiceId(Envelope envelope)
                                         throws SOAPException
SOAPException - Unable to get service URI from envelope.
public static java.lang.String extractMethodName(Envelope envelope)
                                          throws SOAPException
SOAPException - Unable to get method name from envelope.
public static void dumpDOM(Document doc,
                           java.lang.StringBuffer buf)
public static Document parseXml(java.lang.String filename)
                         throws SOAPException
filename - The full path to the XML file.SOAPException - File not found or parse error.
public static Document parseXml(java.io.Reader reader)
                         throws SOAPException
reader - Reader for XMLSOAPException - File not found or parse error.
public static Document parseXml(java.io.InputStream is)
                         throws SOAPException
is - input stream sourceSOAPException - if there are parse errors or IO errors
public static Document createDocument()
                               throws SOAPException
SOAPException - Cannot create document.| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||