net.northfuse.resources.config
Class NodeListIterator<T extends org.w3c.dom.Node>

java.lang.Object
  extended by net.northfuse.resources.config.NodeListIterator<T>
Type Parameters:
T - Some type that extends Node
All Implemented Interfaces:
java.lang.Iterable<T>

public final class NodeListIterator<T extends org.w3c.dom.Node>
extends java.lang.Object
implements java.lang.Iterable<T>

Converts a node list to an iterable.

Author:
tylers2

Constructor Summary
NodeListIterator(org.w3c.dom.NodeList nodeList)
          Creates a NodeListIterator.
 
Method Summary
 java.util.Iterator<T> iterator()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeListIterator

public NodeListIterator(org.w3c.dom.NodeList nodeList)
Creates a NodeListIterator.

Parameters:
nodeList - A node list
Method Detail

iterator

public java.util.Iterator<T> iterator()

Specified by:
iterator in interface java.lang.Iterable<T extends org.w3c.dom.Node>


Copyright © 2011. All Rights Reserved.