groovy.util.slurpersupport
Class NodeIterator
java.lang.Object
groovy.util.slurpersupport.NodeIterator
- All Implemented Interfaces:
- java.util.Iterator
public abstract class NodeIterator
- extends java.lang.Object
- implements java.util.Iterator
- Author:
- John Wilson
Field Summary |
private static java.lang.Object |
DELAYED_INIT
|
private java.util.Iterator |
iter
|
private java.lang.Object |
nextNode
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELAYED_INIT
private static final java.lang.Object DELAYED_INIT
iter
private final java.util.Iterator iter
nextNode
private java.lang.Object nextNode
NodeIterator
public NodeIterator(java.util.Iterator iter)
initNextNode
private void initNextNode()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
getNextNode
protected abstract java.lang.Object getNextNode(java.util.Iterator iter)
Copyright © ${year} The Codehaus. All Rights Reserved.