Class XmlUtil.NodeListIterator

java.lang.Object
com.randomnoun.common.XmlUtil.NodeListIterator
All Implemented Interfaces:
Iterable<Node>
Enclosing class:
XmlUtil

public static class XmlUtil.NodeListIterator extends Object implements Iterable<Node>
Convert a NodeList into something that Java1.5 can treat as Iterable, so that it can be used in for (Node node : nodeList) { ... } style constructs.

(org.w3c.dom.traversal.NodeListIterator doesn't currently implement Iterable)