public abstract class XMLUtil
extends java.lang.Object
Constructor and Description |
---|
XMLUtil() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
elem
- The DOM node to be modelled.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.