org.xerial.util.xml.dom
Class IterableNodeList

java.lang.Object
  extended by org.xerial.util.xml.dom.IterableNodeList
All Implemented Interfaces:
Iterable<Node>, NodeList

public class IterableNodeList
extends Object
implements Iterable<Node>, NodeList

Author:
leo

Constructor Summary
IterableNodeList(NodeList nodeList)
           
 
Method Summary
 int getLength()
           
 Node item(int index)
           
 Iterator<Node> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IterableNodeList

public IterableNodeList(NodeList nodeList)
Method Detail

iterator

public Iterator<Node> iterator()
Specified by:
iterator in interface Iterable<Node>

item

public Node item(int index)
Specified by:
item in interface NodeList

getLength

public int getLength()
Specified by:
getLength in interface NodeList


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.