groovy.util.slurpersupport
Class NodeIterator
java.lang.Object
  
groovy.util.slurpersupport.NodeIterator
- All Implemented Interfaces: 
 - Iterator
 
public abstract class NodeIterator
- extends Object
- implements Iterator
  
Helper class for iterating through nodes.
- Author:
 
  - John Wilson
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NodeIterator
public NodeIterator(Iterator iter)
hasNext
public boolean hasNext()
- Specified by:
 hasNext in interface Iterator
 
 
next
public Object next()
- Specified by:
 next in interface Iterator
 
 
remove
public void remove()
- Specified by:
 remove in interface Iterator
 
 
getNextNode
protected abstract Object getNextNode(Iterator iter)