|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.NodeListIterator
Implementation of NodeIterator, specifically for iterating through the contents of a NodeList.
Field Summary | |
private int |
miIndex
|
private java.util.Vector |
mvecNodes
|
Constructor Summary | |
NodeListIterator(java.util.Vector vecNodes)
|
Method Summary | |
Node |
getNextNode()
returns the next Node in the iterator. |
boolean |
hasMoreNodes()
Returns true if the iterator has more Nodes. |
void |
resetIndex()
Reset index to point to BOF. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector mvecNodes
private int miIndex
Constructor Detail |
public NodeListIterator(java.util.Vector vecNodes)
Method Detail |
public boolean hasMoreNodes()
hasMoreNodes
in interface NodeIterator
public Node getNextNode()
getNextNode
in interface NodeIterator
public void resetIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |