to.etc.xml
Class DomPath

java.lang.Object
  extended by to.etc.xml.DomPath

public class DomPath
extends java.lang.Object

Static helper class to retrieve DOM nodes/node values using a path syntax.

Author:
jal Created on Jan 16, 2006

Constructor Summary
DomPath()
           
 
Method Summary
 java.util.List<org.w3c.dom.Node> findNodes(org.w3c.dom.Node root, java.lang.String path)
          Main worker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomPath

public DomPath()
Method Detail

findNodes

public java.util.List<org.w3c.dom.Node> findNodes(org.w3c.dom.Node root,
                                                  java.lang.String path)
                                           throws java.lang.Exception
Main worker. This returns one or more DOM elements that obey the path passed.

Parameters:
root -
path -
Returns:
Throws:
java.lang.Exception