public static class XPathUtils.ElementListIterator extends java.lang.Object implements java.lang.Iterable<org.w3c.dom.Element>, java.util.Iterator<org.w3c.dom.Element>
Modifier and Type | Field and Description |
---|---|
private int |
index |
private org.w3c.dom.NodeList |
nodeList |
Constructor and Description |
---|
ElementListIterator(org.w3c.dom.NodeList nodeList) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.util.Iterator<org.w3c.dom.Element> |
iterator() |
org.w3c.dom.Element |
next() |
void |
remove() |
public ElementListIterator(org.w3c.dom.NodeList nodeList)
public java.util.Iterator<org.w3c.dom.Element> iterator()
iterator
in interface java.lang.Iterable<org.w3c.dom.Element>
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.w3c.dom.Element>
public org.w3c.dom.Element next()
next
in interface java.util.Iterator<org.w3c.dom.Element>
public void remove()
remove
in interface java.util.Iterator<org.w3c.dom.Element>