KHTML
dom2_traversal.h
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
virtual DOMString customNodeFilterType()
Definition dom2_traversal.cpp:224
virtual short acceptNode(const Node &n)
Definition dom2_traversal.cpp:214
Filters are objects that know how to "filter out" nodes.
Definition dom2_traversal.h:184
AcceptCode
The following constants are returned by the acceptNode() method:
Definition dom2_traversal.h:203
@ SHOW_PROCESSING_INSTRUCTION
Definition dom2_traversal.h:224
Node root()
The root node of the NodeIterator, as specified when it was created.
Definition dom2_traversal.cpp:63
void detach()
Detaches the NodeIterator from the set which it iterated over, releasing any computational resources ...
Definition dom2_traversal.cpp:114
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
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
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
The Node interface is the primary datatype for the entire Document Object Model.
Definition dom_node.h:271
Node previousNode()
Moves the TreeWalker to the previous node in document order relative to the current node,...
Definition dom2_traversal.cpp:337
Node lastChild()
Moves the TreeWalker to the last child of the current node, and returns the new node.
Definition dom2_traversal.cpp:316
Node parentNode()
Moves to and returns the parent node of the current node.
Definition dom2_traversal.cpp:302
Node firstChild()
Moves the TreeWalker to the first child of the current node, and returns the new node.
Definition dom2_traversal.cpp:309
Node root()
The root node of the TreeWalker, as specified when it was created.
Definition dom2_traversal.cpp:264
unsigned long whatToShow()
This attribute determines which node types are presented via the TreeWalker.
Definition dom2_traversal.cpp:270
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
Node nextNode()
Moves the TreeWalker to the next node in document order relative to the current node,...
Definition dom2_traversal.cpp:344
Node currentNode()
The node at which the TreeWalker is currently positioned.
Definition dom2_traversal.cpp:288
Node nextSibling()
Moves the TreeWalker to the next sibling of the current node, and returns the new node.
Definition dom2_traversal.cpp:330
Node previousSibling()
Moves the TreeWalker to the previous sibling of the current node, and returns the new node.
Definition dom2_traversal.cpp:323
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.