Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## XPathObject Interface

Table 20-7 summarizes the methods of available through the `XPathObject` interface.

Table 20-7 Summary of XPathObject Methods; XPath Package

Function | Summary
--- | ---
XPathObject | Copy constructor.
getNodeSet | Get the node set.
getObjBoolean | Get boolean from object.
getObjNumber | Get number from object.
getObjString | Get string from object.
getObjType | Get type from object.

### XPathObject

Copy constructor.

Syntax

    XPathObject(
       XPathObject< Node>& src);

Parameter | Description
--- | ---
    src
| reference to the object to be copied

Returns

`(XPathObject)` new object

### getNodeSet

Get the node set.

Syntax

    NodeSet< Node>* getNodeSet() const;

### getObjBoolean

Get the boolean from the object.

Syntax

    boolean getObjBoolean() const;

### getObjNumber

Get the number from the object.

Syntax

    double getObjNumber() const;

### getObjString

Get the string from the object.

Syntax

    oratext* getObjString() const;

### getObjType

Get the type from the object.

Syntax

    XPathObjType getObjType() const;