public class IterableNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList, java.lang.Iterable<org.w3c.dom.Node>
NodeList
into something
that can be iteratedConstructor and Description |
---|
IterableNodeList(org.w3c.dom.NodeList list)
The constructor
|
public IterableNodeList(org.w3c.dom.NodeList list)
list
- The node list been wrappedpublic java.util.Iterator<org.w3c.dom.Node> iterator()
iterator
in interface java.lang.Iterable<org.w3c.dom.Node>
public org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NodeList
public int getLength()
getLength
in interface org.w3c.dom.NodeList