at.gv.egovernment.moa.util
Class NodeIteratorAdapter
java.lang.Object
|
+--at.gv.egovernment.moa.util.NodeIteratorAdapter
- All Implemented Interfaces:
- org.w3c.dom.traversal.NodeIterator
- public class NodeIteratorAdapter
- extends Object
- implements org.w3c.dom.traversal.NodeIterator
A NodeIterator
implementation based on a
ListIterator
.
- Version:
- $Id$
- Author:
- Patrick Peck
- See Also:
ListIterator
,
NodeIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeIteratorAdapter
public NodeIteratorAdapter(ListIterator nodeIterator)
- Create a new
NodeIteratorAdapter
.
- Parameters:
nodeIterator
- The ListIterator
to iterate over.
getRoot
public org.w3c.dom.Node getRoot()
- Specified by:
getRoot
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.getRoot()
getWhatToShow
public int getWhatToShow()
- Specified by:
getWhatToShow
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.getWhatToShow()
getFilter
public org.w3c.dom.traversal.NodeFilter getFilter()
- Specified by:
getFilter
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.getFilter()
getExpandEntityReferences
public boolean getExpandEntityReferences()
- Specified by:
getExpandEntityReferences
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.getExpandEntityReferences()
nextNode
public org.w3c.dom.Node nextNode()
throws org.w3c.dom.DOMException
- Specified by:
nextNode
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.nextNode()
previousNode
public org.w3c.dom.Node previousNode()
throws org.w3c.dom.DOMException
- Specified by:
previousNode
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.previousNode()
detach
public void detach()
- Specified by:
detach
in interface org.w3c.dom.traversal.NodeIterator
- See Also:
NodeIterator.detach()