API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom.traversal. NodeIterator View Source
Author(s)
Since
DOM Level 2
Version
Serial
Hierarchy
 NodeIterator
Subinterfaces
Description
public interface NodeIterator
  NodeIterators are used to step through a set of nodes, e.g.
See also:   
Methods
Hide/Show inherited methods
public void detach ()
  Detaches the NodeIterator from the set which it iterated over, releasing any computational resources and placing the NodeIterator in the INVALID state.
public boolean getExpandEntityReferences ()
  The value of this flag determines whether the children of entity reference nodes are visible to the NodeIterator.
public NodeFilter getFilter ()
The NodeFilter used to screen nodes.
public Node getRoot ()
The root node of the NodeIterator, as specified when it was created.
public int getWhatToShow ()
  This attribute determines which node types are presented via the NodeIterator.
public Node nextNode () throws DOMException
  Returns the next node in the set and advances the position of the NodeIterator in the set.
public Node previousNode () throws DOMException
  Returns the previous node in the set and moves the position of the NodeIterator backwards in the set.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar