[Java] Class NodeIterator
- groovy.xml.slurpersupport.NodeIterator
- All Implemented Interfaces and Traits:
- Iterator
public abstract class NodeIterator extends Object implements Iterator
Helper class for iterating through nodes.
Constructor Summary
Constructor and description |
---|
NodeIterator
(Iterator iter) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected abstract Object |
getNextNode(Iterator iter) | |
public boolean |
hasNext() | |
public Object |
next() | |
public void |
remove() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public NodeIterator(Iterator iter)
Method Detail
protected abstract Object getNextNode(Iterator iter)
public boolean hasNext()
public Object next()
public void remove()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/xml/slurpersupport/NodeIterator.html