de.hs_rm.cs.lecturenotes.server.core.logical.extractcode
Class NodeListIterator

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.server.core.logical.extractcode.NodeListIterator
All Implemented Interfaces:
java.lang.Iterable<org.w3c.dom.Node>, java.util.Iterator<org.w3c.dom.Node>

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

Originates from NodeListIterator. Simple iterator to iterate the dom NodeList. This class is mainly used by ExtractCode.

Version:
$LastChangedRevision: 242 $
Author:
Enrico Homann

Constructor Summary
NodeListIterator(org.w3c.dom.NodeList nodeList)
          Constructor.
 
Method Summary
 boolean hasNext()
           
 java.util.Iterator<org.w3c.dom.Node> iterator()
           
 org.w3c.dom.Node next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeListIterator

public NodeListIterator(org.w3c.dom.NodeList nodeList)
Constructor.

Parameters:
nodeList - NodeList
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<org.w3c.dom.Node>

next

public org.w3c.dom.Node next()
Specified by:
next in interface java.util.Iterator<org.w3c.dom.Node>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<org.w3c.dom.Node>

iterator

public java.util.Iterator<org.w3c.dom.Node> iterator()
Specified by:
iterator in interface java.lang.Iterable<org.w3c.dom.Node>