#include <NodeIteratorWalker.h>
Inheritance diagram for acdk::xml::dom::NodeIteratorWalker:
Public Member Functions | |
NodeIteratorWalker (IN(org::w3c::dom::RNode) rootNode, IN(org::w3c::dom::traversal::RNodeFilter) nodeFilter, int showFlags, bool expandEntity, bool walkMode) | |
org::w3c::dom::RNode | getRoot () |
The root node of the NodeIterator , as specified when it was created. | |
int | getWhatToShow () |
This attribute determines which node types are presented via the NodeIterator . | |
org::w3c::dom::traversal::RNodeFilter | getFilter () |
The NodeFilter used to screen nodes. | |
bool | getExpandEntityReferences () |
The value of this flag determines whether the children of entity reference nodes are visible to the NodeIterator . | |
org::w3c::dom::RNode | nextNode () throw ( org::w3c::dom::RDOMException ) |
Returns the next node in the set and advances the position of the NodeIterator in the set. | |
org::w3c::dom::RNode | previousNode () throw ( org::w3c::dom::RDOMException ) |
Returns the previous node in the set and moves the position of the NodeIterator backwards in the set. | |
org::w3c::dom::RNode | getCurrentNode () |
The node at which the TreeWalker is currently positioned. | |
void | setCurrentNode (IN(org::w3c::dom::RNode) curNode) throw ( org::w3c::dom::RDOMException ) |
org::w3c::dom::RNode | parentNode () |
Moves to and returns the closest visible ancestor node of the current node. | |
org::w3c::dom::RNode | firstChild () |
Moves the TreeWalker to the first visible child of the current node, and returns the new node. | |
org::w3c::dom::RNode | lastChild () |
Moves the TreeWalker to the last visible child of the current node, and returns the new node. | |
org::w3c::dom::RNode | previousSibling () |
Moves the TreeWalker to the previous sibling of the current node, and returns the new node. | |
org::w3c::dom::RNode | nextSibling () |
Moves the TreeWalker to the next sibling of the current node, and returns the new node. | |
void | detach () |
Detaches the NodeIterator from the set which it iterated over, releasing any computational resources and placing the NodeIterator in the INVALID state. | |
Private Member Functions | |
bool | _noSkip (IN(org::w3c::dom::RNode) node) |
Private Attributes | |
org::w3c::dom::RNode | _rootNode |
org::w3c::dom::RNode | _curNode |
int | _showFlags |
org::w3c::dom::traversal::RNodeFilter | _nodeFilter |
bool | _expandEntityReference |
bool | _walkMode |
|
|
|
|
|
Detaches the
After Implements org::w3c::dom::traversal::NodeIterator. |
|
Moves the
If the current node has no visible children, returns
Implements org::w3c::dom::traversal::TreeWalker. |
|
The node at which the
Implements org::w3c::dom::traversal::TreeWalker. |
|
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 Implements org::w3c::dom::traversal::NodeIterator. |
|
The
Implements org::w3c::dom::traversal::NodeIterator. |
|
The root node of the
Implements org::w3c::dom::traversal::NodeIterator. |
|
This attribute determines which node types are presented via the
The available set of constants is defined in the Implements org::w3c::dom::traversal::NodeIterator. |
|
Moves the
If the current node has no visible children, returns
Implements org::w3c::dom::traversal::TreeWalker. |
|
Returns the next node in the set and advances the position of the
After a
Implements org::w3c::dom::traversal::NodeIterator. |
|
Moves the
If the current node has no visible next sibling, returns
Implements org::w3c::dom::traversal::TreeWalker. |
|
Moves to and returns the closest visible ancestor node of the current node.
If the search for
Implements org::w3c::dom::traversal::TreeWalker. |
|
Returns the previous node in the set and moves the position of the
Implements org::w3c::dom::traversal::NodeIterator. |
|
Moves the
If the current node has no visible previous sibling, returns
Implements org::w3c::dom::traversal::TreeWalker. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|