java.lang.Object | +--com.ibm.commerce.xml.utils.XMLUtil
XML Utility class
Constructor Summary | |
---|---|
XMLUtil() |
Method Summary | |
---|---|
static java.lang.Object |
get(java.util.Hashtable tree, java.lang.String path) Returns nested object based upon xml variable path demarcated by ".". |
static java.lang.Object |
processNode(org.w3c.dom.Node elem) Create a model entry to represent the various attributes of a DOM node. |
static java.lang.Object |
processNode(org.w3c.dom.Node node, java.lang.String tabs) Create a model entry to represent the various attributes of a DOM node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public XMLUtil()
Method Detail |
---|
public static java.lang.Object get(java.util.Hashtable tree, java.lang.String path)
tree
- the xml hashtable representation.path
- the path to retrieve the object.public static java.lang.Object processNode(org.w3c.dom.Node elem)
PLEASE NOTE: DOM node attributes and its children are all considered attributes of the DOM node in the model entry.
processNode(elem,
"")
public static final java.lang.Object processNode(org.w3c.dom.Node node, java.lang.String tabs)
PLEASE NOTE: DOM node attributes and its children are all considered attributes of the DOM node in the model entry.
node
- The DOM node to be modelled.tabs
- Indentation used for debug log format purposes.