dom2_traversal.cpp
CustomNodeFilter can be used to define your own NodeFilter for use with NodeIterators and TreeWalkers...
Definition: dom2_traversal.h:295
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
Filters are objects that know how to "filter out" nodes.
Definition: dom2_traversal.h:185
virtual short acceptNode(const Node &n)
Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator.
Definition: dom2_traversal.cpp:165
NodeIterators are used to step through a set of nodes, e.g.
Definition: dom2_traversal.h:61
Node root()
The root node of the NodeIterator, as specified when it was created.
Definition: dom2_traversal.cpp:62
void detach()
Detaches the NodeIterator from the set which it iterated over, releasing any computational resources ...
Definition: dom2_traversal.cpp:110
unsigned long whatToShow()
This attribute determines which node types are presented via the iterator.
Definition: dom2_traversal.cpp:68
Node nextNode()
Returns the next node in the set and advances the position of the Iterator in the set.
Definition: dom2_traversal.cpp:86
Node previousNode()
Returns the previous node in the set and moves the position of the Iterator backwards in the set.
Definition: dom2_traversal.cpp:98
bool expandEntityReferences()
The value of this flag determines whether the children of entity reference nodes are visible to the i...
Definition: dom2_traversal.cpp:80
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
TreeWalker objects are used to navigate a document tree or subtree using the view of the document def...
Definition: dom2_traversal.h:340
Node previousNode()
Moves the TreeWalker to the previous node in document order relative to the current node,...
Definition: dom2_traversal.cpp:324
Node lastChild()
Moves the TreeWalker to the last child of the current node, and returns the new node.
Definition: dom2_traversal.cpp:306
Node parentNode()
Moves to and returns the parent node of the current node.
Definition: dom2_traversal.cpp:294
Node firstChild()
Moves the TreeWalker to the first child of the current node, and returns the new node.
Definition: dom2_traversal.cpp:300
Node root()
The root node of the TreeWalker, as specified when it was created.
Definition: dom2_traversal.cpp:259
unsigned long whatToShow()
This attribute determines which node types are presented via the TreeWalker.
Definition: dom2_traversal.cpp:265
bool expandEntityReferences()
The value of this flag determines whether the children of entity reference nodes are visible to the T...
Definition: dom2_traversal.cpp:277
Node nextNode()
Moves the TreeWalker to the next node in document order relative to the current node,...
Definition: dom2_traversal.cpp:330
Node currentNode()
The node at which the TreeWalker is currently positioned.
Definition: dom2_traversal.cpp:283
Node nextSibling()
Moves the TreeWalker to the next sibling of the current node, and returns the new node.
Definition: dom2_traversal.cpp:318
Node previousSibling()
Moves the TreeWalker to the previous sibling of the current node, and returns the new node.
Definition: dom2_traversal.cpp:312
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57