com.webmethods.rtl.util.xml
Class XMLUtil.NodeListIterator

java.lang.Object
  extended by com.webmethods.rtl.util.xml.XMLUtil.NodeListIterator
All Implemented Interfaces:
org.w3c.dom.traversal.NodeIterator
Enclosing class:
XMLUtil

public static class XMLUtil.NodeListIterator
extends Object
implements org.w3c.dom.traversal.NodeIterator

NodeIterator which iterates over a dom NodeList.


Field Summary
protected  int index
           
protected  NodeList list
           
 
Constructor Summary
XMLUtil.NodeListIterator(NodeList list)
           
 
Method Summary
 void detach()
           
 boolean getExpandEntityReferences()
           
 org.w3c.dom.traversal.NodeFilter getFilter()
           
 Node getRoot()
           
 int getWhatToShow()
           
 Node nextNode()
           
 Node previousNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected NodeList list

index

protected int index
Constructor Detail

XMLUtil.NodeListIterator

public XMLUtil.NodeListIterator(NodeList list)
Method Detail

previousNode

public Node previousNode()
Specified by:
previousNode in interface org.w3c.dom.traversal.NodeIterator

nextNode

public Node nextNode()
Specified by:
nextNode in interface org.w3c.dom.traversal.NodeIterator

getWhatToShow

public int getWhatToShow()
Specified by:
getWhatToShow in interface org.w3c.dom.traversal.NodeIterator

getRoot

public Node getRoot()
Specified by:
getRoot in interface org.w3c.dom.traversal.NodeIterator

getFilter

public org.w3c.dom.traversal.NodeFilter getFilter()
Specified by:
getFilter in interface org.w3c.dom.traversal.NodeIterator

getExpandEntityReferences

public boolean getExpandEntityReferences()
Specified by:
getExpandEntityReferences in interface org.w3c.dom.traversal.NodeIterator

detach

public void detach()
Specified by:
detach in interface org.w3c.dom.traversal.NodeIterator