#include <NodeIterator.h>
Inheritance diagram for org::w3c::dom::traversal::NodeIterator:
NodeIterators
are used to step through a set of nodes, e.g.
the set of nodes in a NodeList
, the document subtree governed by a particular Node
, the results of a query, or any other set of nodes. The set of nodes to be iterated is determined by the implementation of the NodeIterator
. DOM Level 2 specifies a single NodeIterator
implementation for document-order traversal of a document subtree. Instances of these NodeIterators
are created by calling DocumentTraversal
.createNodeIterator()
.
See also the Document acdk::lang::Object Model (DOM) Level 2 Traversal and Range Specification.
Public Member Functions | |
virtual RNode | getRoot ()=0 |
The root node of the NodeIterator , as specified when it was created. | |
virtual int | getWhatToShow ()=0 |
This attribute determines which node types are presented via the NodeIterator . | |
virtual RNodeFilter | getFilter ()=0 |
The NodeFilter used to screen nodes. | |
virtual bool | getExpandEntityReferences ()=0 |
The value of this flag determines whether the children of entity reference nodes are visible to the NodeIterator . | |
virtual RNode | nextNode ()=0 throw ( RDOMException ) |
Returns the next node in the set and advances the position of the NodeIterator in the set. | |
virtual RNode | previousNode ()=0 throw ( RDOMException ) |
Returns the previous node in the set and moves the position of the NodeIterator backwards in the set. | |
virtual void | detach ()=0 |
Detaches the NodeIterator from the set which it iterated over, releasing any computational resources and placing the NodeIterator in the INVALID state. |
|
Detaches the
After Implemented in acdk::xml::dom::NodeIteratorWalker. |
|
The value of this flag determines whether the children of entity reference nodes are visible to the
If false, these children and their descendants will be rejected. Note that this rejection takes precedence over Implemented in acdk::xml::dom::NodeIteratorWalker. |
|
The
Implemented in acdk::xml::dom::NodeIteratorWalker. |
|
The root node of the
Implemented in acdk::xml::dom::NodeIteratorWalker. |
|
This attribute determines which node types are presented via the
The available set of constants is defined in the Implemented in acdk::xml::dom::NodeIteratorWalker. |
|
Returns the next node in the set and advances the position of the
After a
Implemented in acdk::xml::dom::NodeIteratorWalker. |
|
Returns the previous node in the set and moves the position of the
Implemented in acdk::xml::dom::NodeIteratorWalker. |