| Oracle® Database XML C++ API Reference 11g Release 1 (11.1) Part Number B28389-01 |
|
|
View PDF |
Table 2-19 summarizes the methods available through NodeIterator interface.
Table 2-19 Summary of NodeIterator Methods; Dom Package
| Function | Summary |
|---|---|
|
|
Attach this iterator to the another context. |
|
|
Invalidate the iterator. |
|
|
Go to the next node. |
|
|
Go to the previous node. |
Attaches this iterator to the context associated with a given node reference
Syntax
void adjustCtx( NodeRef< Node>& nref);
| Parameter | Description |
|---|---|
nref |
reference node |
Invalidates the iterator.
Syntax
void detach();
Go to the next node.
Syntax
Node* nextNode() throw (DOMException);
Returns
(Node*) pointer to the next node
Go to the previous node.
Syntax
Node* previousNode() throw (DOMException);
Returns
(Node*) pointer to the previous node