Home » Xerces-J-src.2.9.1 » dom » [javadoc | source]
public class: DOMCount [javadoc | source]
A sample DOM counter. This sample program illustrates how to traverse a DOM tree in order to information about the document.
Method from dom.DOMCount Summary:
count,   main,   printResults,   traverse
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from dom.DOMCount Detail:
 public static  void count(String parserWrapperName,
    String uri) 
    Counts the resulting document tree.
 public static  void main(String[] argv) 
    Main program entry point.
 public  void printResults(String uri,
    long time) 
    Prints the results.
 public  void traverse(Node node) 
    Traverses the specified node, recursively.