|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.dom.DomCounter
Counts the numbers of all elements and attributes in an XML document.
| Constructor Summary | |
DomCounter()
|
|
| Method Summary | |
static void |
initNum()
Resets the numbers of elements and attributes. |
static void |
termNum()
Displays the numbers of elements and attributes respectively. |
static void |
visitNode(org.w3c.dom.Document doc)
Visits all nodes existing in a DOM object tree. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DomCounter()
| Method Detail |
public static void initNum()
public static void termNum()
public static void visitNode(org.w3c.dom.Document doc)
doc - The root of a DOM object tree to be visited.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||