Oracle® Database XML C++ API Reference 11g Release 1 (11.1) Part Number B28389-01 |
|
|
View PDF |
Table 2-20 summarizes the methods available through NodeListRef interface.
Table 2-20 Summary of NodeListRef Methods; Dom Package
Function | Summary |
---|---|
|
Constructor. |
|
Get list's length. |
|
Get item given its index. |
|
Default destructor. |
Class constructor.
Syntax | Description |
---|---|
NodeListRef( const NodeRef< Node>& node_ref, NodeList< Node>* lptr); |
Used to create references to a given NodeList node. |
NodeListRef( const NodeListRef< Node>& lref); |
Copy constructor. |
Parameter | Description |
---|---|
node_ref |
reference to provide the context |
lptr |
referenced list |
Returns
(NodeListRef)
Node
reference object
Get the length of the list.
Syntax
ub4 getLength() const;
Returns
(ub4)
list's length
Get the item, given its index.
Syntax
Node* item( ub4 index) const;
Parameter | Description |
---|---|
index |
index of item |
Returns
(Node*)
pointer to the item
Destructs the object.
Syntax
~NodeListRef();