|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.rules.sdk.store.util.XMLUtil
XML utility methods.
Constructor Summary | |
XMLUtil() |
Method Summary | |
static javax.xml.parsers.DocumentBuilder |
getDocumentBuilder() Gets a document builder. |
static org.w3c.dom.Document |
parseXML(java.io.InputStream is) Parse an XML document given an InputStream |
static org.w3c.dom.Document |
parseXML(java.io.Reader r) Parse an XML document given a Reader |
static void |
toXML(org.w3c.dom.Node node, java.io.OutputStreamWriter osw) Writes the DOM tree as XML text to the specified output stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLUtil()
Method Detail |
public static javax.xml.parsers.DocumentBuilder getDocumentBuilder() throws DocumentException
DocumentException
- if an error is encountered.public static org.w3c.dom.Document parseXML(java.io.Reader r) throws DocumentException
r
- the Reader.DocumentException
- if an error is encountered.public static org.w3c.dom.Document parseXML(java.io.InputStream is) throws DocumentException
is
- the input stream from which to read the XML.DocumentException
- if an error is encountered.public static void toXML(org.w3c.dom.Node node, java.io.OutputStreamWriter osw) throws DocumentException
node
- the DOM tree.osw
- the OutputStreamWriter
the XML will be written to.DocumentException
- if an error is encountered.
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |