edu.wisc.ssec.mcidasv.util
Class XPathUtils.NodeListIterator

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.util.XPathUtils.NodeListIterator
All Implemented Interfaces:
Iterable<Node>, Iterator<Node>
Enclosing class:
XPathUtils

public static class XPathUtils.NodeListIterator
extends Object
implements Iterable<Node>, Iterator<Node>


Field Summary
private  int index
           
private  NodeList nodeList
           
 
Constructor Summary
XPathUtils.NodeListIterator(NodeList nodeList)
           
 
Method Summary
 boolean hasNext()
           
 Iterator<Node> iterator()
           
 Node next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeList

private final NodeList nodeList

index

private int index
Constructor Detail

XPathUtils.NodeListIterator

public XPathUtils.NodeListIterator(NodeList nodeList)
Method Detail

iterator

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

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Node>

next

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

remove

public void remove()
Specified by:
remove in interface Iterator<Node>