Package elki.utilities.xml
Class XMLNodeListIterator
- java.lang.Object
-
- elki.utilities.xml.XMLNodeListIterator
-
- All Implemented Interfaces:
java.util.Iterator<org.w3c.dom.Node>
public final class XMLNodeListIterator extends java.lang.Object implements java.util.Iterator<org.w3c.dom.Node>
Simple adapter class to iterate over a DOM tree nodes children.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description XMLNodeListIterator(org.w3c.dom.NodeList nl)
Constructor with first element to iterate over.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Check if the next node is defined.org.w3c.dom.Node
next()
Return next and advance iterator.
-