Oracle® Database XML C++ API Reference 11g Release 1 (11.1) Part Number B28389-01 |
|
|
View PDF |
Table 2-27 summarizes the methods available through TreeWalker
interface.
Table 2-27 Summary of TreeWalker Methods; Dom Package
Function | Summary |
---|---|
|
Attach this tree walker to another context. |
|
Get the first child of the current node. |
|
Get the last child of the current node. |
|
Get the next node. |
|
Get the next sibling node. |
|
Get the parent of the current node. |
|
Get the previous node. |
|
Get the previous sibling node. |
Attaches this tree walker to the context associated with a given node reference
Syntax
void adjustCtx( NodeRef< Node>& nref);
Parameter | Description |
---|---|
nref |
reference to provide the context |
Get the first child of the current node.
Syntax
Node* firstChild();
Returns
(Node*)
pointer to first child node
Get the last child of the current node.
Syntax
Node* lastChild();
Returns
(Node*)
pointer to last child node
Get the next node.
Syntax
Node* nextNode();
Returns
(Node*)
pointer to the next node
Get the next sibling node.
Syntax
Node* nextSibling();
Returns
(Node*)
pointer to the next sibling node
Get the parent of the current node.
Syntax
Node* parentNode();
Returns
(Node*)
pointer to the parent node
Get the previous node.
Syntax
Node* previousNode();
Returns
(Node*)
pointer to previous node
Get the previous sibling node.
Syntax
Node* previousSibling();
Returns
(Node*)
pointer to the previous sibling node