[All Packages]  [This Package]

Class: XPObject

This class contains top-level methods of class XPObject. Objects of this class are created as a result of XPath expression evaluation.


Method Index

XPObject XPObject constructor
getbooleanval Returns boolean value of XPObject
getnsetval Returns node set value of XPObject
getnumval Returns numeric value of XPObject
getstrval Returns string value of XPObject
getxpobjtyp Returns type of XPObject

getbooleanval

Purpose

Get boolean value of the object.

Syntax
boolean    getbooleanval ();

Returns

Returns TRUE or FALSE.  

getnumval

Purpose

Get numeric value of the object.

Syntax
double    getnumval     ();

Returns

Returns numeric value.  

getstrval

Purpose

Get string value of the object.

Syntax
oratext*  getstrval     ();

Returns

Returns string value.  

getnsetval

Purpose

Get string value of the object.

Syntax
xpnset*   getnsetval    ();

Returns

Returns node set value.  

getxpobjtyp

Purpose

Get type of the object.

Syntax
xpobjtyp  getxpobjtyp   ();

Returns

Returns the object type.
The type could be one of the following:

XPOBJTYP_BOOL XPOBJTYP_NUM XPOBJTYP_STR XPOBJTYP_NSET XPOBJTYP_RTFRAG