|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 ".". For Example: path = 'store.name' returns the name string from the store hashtable |
static java.lang.Object |
processNode(org.w3c.dom.Node elem)
Create a model entry to represent the various attributes of a Document Object Model (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 Document Object Model (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)
path = 'store.name'
tree
- The hashtable from which you wish to get a value.path
- The nested object based upon XML variable path demarcated by ".".path = 'store.name'
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.
node
- The DOM node to be modelled.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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |