Public Methods | |
Constructors and assignment operator | |
DOM_NodeIterator () | |
DOM_NodeIterator (const DOM_NodeIterator &other) | |
DOM_NodeIterator & | operator= (const DOM_NodeIterator &other) |
DOM_NodeIterator & | operator= (const DOM_NullPtr *val) |
Destructor. | |
~DOM_NodeIterator () | |
Equality and Inequality operators. | |
bool | operator== (const DOM_NodeIterator &other) const |
bool | operator== (const DOM_NullPtr *other) const |
bool | operator!= (const DOM_NodeIterator &other) const |
bool | operator!= (const DOM_NullPtr *other) const |
Get functions. | |
DOM_Node | getRoot () |
unsigned long | getWhatToShow () |
DOM_NodeFilter * | getFilter () |
bool | getExpandEntityReferences () |
DOM_Node | nextNode () |
DOM_Node | previousNode () |
Detaching functions. | |
void | detach () |
Protected Methods | |
DOM_NodeIterator (NodeIteratorImpl *impl) | |
Friends | |
class | DOM_Document |
DocumentTraversal.createNodeIterator()
.
|
Default constructor. |
|
Copy constructor.
|
|
Destructor for DOM_NodeIterator. |
|
Detaches the iterator from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. After |
|
Return the expandEntityReferences flag. The value of this flag determines whether the children of entity reference nodes are visible to the DOM_NodeFilter. If false, they will be skipped over. |
|
Return The filter used to screen nodes. |
|
The root node of the |
|
Return which node types are presented via the iterator. The available set of constants is defined in the DOM_NodeFilter interface. |
|
Returns the next node in the set and advances the position of the iterator in the set. After a DOM_NodeIterator is created, the first call to nextNode() returns the first node in the set.
|
|
Compare with a pointer. Intended only to allow a convenient comparison with null. |
|
The inequality operator. See operator ==. |
|
Assignment operator. This overloaded variant is provided for the sole purpose of setting a DOM_NodeIterator to null.
|
|
Assignment operator.
|
|
Compare with a pointer. Intended only to allow a convenient comparison with null. |
|
The equality operator.
|
|
Returns the previous node in the set and moves the position of the iterator backwards in the set.
|