public class DOMElementIterator
extends java.lang.Object
implements java.util.Iterator<org.w3c.dom.Element>
Constructor and Description |
---|
DOMElementIterator(org.w3c.dom.NodeList nodeList)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
org.w3c.dom.Element |
next() |
void |
remove() |
public DOMElementIterator(org.w3c.dom.NodeList nodeList)
nodeList
- is a list of DOM nodes.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>