|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simkin.TreeNodeEnumerator
This class enumerates the elements in a TreeNode
Constructor Summary | |
TreeNodeEnumerator(TreeNode treeNodeObject)
Constructor - enumerates over every child node of this object |
|
TreeNodeEnumerator(TreeNode treeNodeObject,
java.lang.String tagName)
Constructor - enumerates over children of this object with the matching tag |
Method Summary | |
TreeNode |
next()
returns the next object in the enumeration - or null if there are no more |
void |
reset()
This method resets the enumeration to the beginning - you can now iterate over the list again |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeNodeEnumerator(TreeNode treeNodeObject)
public TreeNodeEnumerator(TreeNode treeNodeObject, java.lang.String tagName)
Method Detail |
public TreeNode next()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |