SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.project
Class NodeListIterator

java.lang.Object
  |
  +--org.sourcejammer.project.NodeListIterator
All Implemented Interfaces:
NodeIterator

public class NodeListIterator
extends java.lang.Object
implements NodeIterator

Implementation of NodeIterator, specifically for iterating through the contents of a NodeList.


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
 

Constructor Detail

NodeListIterator

public NodeListIterator(java.util.Vector vecNodes)
Method Detail

hasMoreNodes

public boolean hasMoreNodes()
Returns true if the iterator has more Nodes.
Specified by:
hasMoreNodes in interface NodeIterator

getNextNode

public Node getNextNode()
returns the next Node in the iterator.
Specified by:
getNextNode in interface NodeIterator

resetIndex

public void resetIndex()
Reset index to point to BOF.

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan