Package groovy.xml.slurpersupport
Class NodeIterator
java.lang.Object
groovy.xml.slurpersupport.NodeIterator
- All Implemented Interfaces:
- java.util.Iterator
public abstract class NodeIterator
extends java.lang.Object
implements java.util.Iterator
Helper class for iterating through nodes.
- 
Constructor SummaryConstructors Constructor Description NodeIterator(java.util.Iterator iter)
- 
Method SummaryModifier and Type Method Description protected abstract java.lang.ObjectgetNextNode(java.util.Iterator iter)booleanhasNext()java.lang.Objectnext()voidremove()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
NodeIteratorpublic NodeIterator(java.util.Iterator iter)
 
- 
- 
Method Details- 
hasNextpublic boolean hasNext()- Specified by:
- hasNextin interface- java.util.Iterator
 
- 
nextpublic java.lang.Object next()- Specified by:
- nextin interface- java.util.Iterator
 
- 
removepublic void remove()- Specified by:
- removein interface- java.util.Iterator
 
- 
getNextNodeprotected abstract java.lang.Object getNextNode(java.util.Iterator iter)
 
-