KHTML
dom2_traversal.cpp
Go to the documentation of this file.
CustomNodeFilter can be used to define your own NodeFilter for use with NodeIterators and TreeWalkers...
Definition: dom2_traversal.h:294
CustomNodeFilter * customNodeFilter()
Definition: dom2_traversal.cpp:181
Node root()
The root node of the TreeWalker, as specified when it was created.
Definition: dom2_traversal.cpp:264
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
Node previousSibling()
Moves the TreeWalker to the previous sibling of the current node, and returns the new node...
Definition: dom2_traversal.cpp:323
virtual NodeFilter & operator=(const NodeFilter &other)
Definition: dom2_traversal.cpp:154
Node nextSibling()
Moves the TreeWalker to the next sibling of the current node, and returns the new node...
Definition: dom2_traversal.cpp:330
unsigned long whatToShow()
This attribute determines which node types are presented via the TreeWalker.
Definition: dom2_traversal.cpp:270
virtual DOMString customNodeFilterType()
Definition: dom2_traversal.cpp:224
Node previousNode()
Moves the TreeWalker to the previous node in document order relative to the current node...
Definition: dom2_traversal.cpp:337
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
void setCustomNodeFilter(CustomNodeFilter *custom)
Definition: dom2_traversal.cpp:176
unsigned long whatToShow()
This attribute determines which node types are presented via the iterator.
Definition: dom2_traversal.cpp:69
Node nextNode()
Returns the next node in the set and advances the position of the Iterator in the set...
Definition: dom2_traversal.cpp:87
TreeWalker objects are used to navigate a document tree or subtree using the view of the document def...
Definition: dom2_traversal.h:338
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:169
Node currentNode()
The node at which the TreeWalker is currently positioned.
Definition: dom2_traversal.cpp:288
Node firstChild()
Moves the TreeWalker to the first child of the current node, and returns the new node.
Definition: dom2_traversal.cpp:309
static NodeFilter createCustom(CustomNodeFilter *custom)
Definition: dom2_traversal.cpp:197
Node root()
The root node of the NodeIterator, as specified when it was created.
Definition: dom2_traversal.cpp:63
Node previousNode()
Returns the previous node in the set and moves the position of the Iterator backwards in the set...
Definition: dom2_traversal.cpp:100
Filters are objects that know how to "filter out" nodes.
Definition: dom2_traversal.h:183
TreeWalker & operator=(const TreeWalker &other)
Definition: dom2_traversal.cpp:248
bool expandEntityReferences()
The value of this flag determines whether the children of entity reference nodes are visible to the T...
Definition: dom2_traversal.cpp:282
NodeIterators are used to step through a set of nodes, e.g.
Definition: dom2_traversal.h:59
NodeIterator & operator=(const NodeIterator &other)
Definition: dom2_traversal.cpp:48
Node lastChild()
Moves the TreeWalker to the last child of the current node, and returns the new node.
Definition: dom2_traversal.cpp:316
void detach()
Detaches the NodeIterator from the set which it iterated over, releasing any computational resources ...
Definition: dom2_traversal.cpp:114
bool expandEntityReferences()
The value of this flag determines whether the children of entity reference nodes are visible to the i...
Definition: dom2_traversal.cpp:81
Node nextNode()
Moves the TreeWalker to the next node in document order relative to the current node, and returns the new node.
Definition: dom2_traversal.cpp:344
Node parentNode()
Moves to and returns the parent node of the current node.
Definition: dom2_traversal.cpp:302
virtual ~CustomNodeFilter()
Definition: dom2_traversal.cpp:210
virtual short acceptNode(const Node &n)
Definition: dom2_traversal.cpp:214
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.