|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.menu.model.internal.DOMUtils
public final class DOMUtils
Utilities for working with DOM.
Method Summary | |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
getNodeAttrs(org.w3c.dom.Node node)
Gets the attributes of a DOM node. |
static java.lang.String |
getNodeAttrVal(org.w3c.dom.Node node,
java.lang.String attr)
Gets the attribute value for a given attribute of a given node. |
static org.w3c.dom.Document |
parse(byte[] text)
Parses a byte array and returns the DOM. |
static void |
printDocument(org.w3c.dom.Document doc)
Prints a document to System.out. |
static void |
printDocument2Logger(org.w3c.dom.Document doc)
Prints a document to AppsLogger FINEST For internal use only! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.w3c.dom.Document parse(byte[] text)
text
- the test to parse
public static java.lang.String getNodeAttrVal(org.w3c.dom.Node node, java.lang.String attr)
node
- the nodeattr
- the attribute
public static final java.util.Map<java.lang.String,java.lang.String> getNodeAttrs(org.w3c.dom.Node node)
node
- the node
public static void printDocument(org.w3c.dom.Document doc)
doc
- the document to be printedpublic static void printDocument2Logger(org.w3c.dom.Document doc)
doc
- the document to be printed
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |