XPathObject Interface

Table 8-7 summarizes the methods available through the XPathObject interface.

Table 8-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;