Oracle® XML API Reference 10g Release 1 (10.1) Part Number B10789-01 |
|
|
View PDF |
Table 15-20 summarizes the methods of available through NodeListRef interface.
Table 15-20 Summary of NodeListRef Methods; Dom Package
Function | Summary |
---|---|
NodeListRef |
Constructor. |
getLength |
Get list's length. |
item |
Get item given its index. |
~NodeListRef |
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 |
(NodeListRef)
Node
reference object
Get the length of the list.
ub4 getLength() const;
(ub4)
list's length
Get the item, given its index.
Node* item( ub4 index) const;
Parameter | Description |
---|---|
index |
index of item |
(Node*)
pointer to the item
Destructs the object.
~NodeListRef();