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. |
Copy constructor.
XPathObject( XPathObject< Node>& src);
| Parameter | Description |
|---|---|
src |
reference to the object to be copied |
(XPathObject) new object
Get the node set.
NodeSet< Node>* getNodeSet() const;
Get the boolean from the object.
boolean getObjBoolean() const;
Get the number from the object.
double getObjNumber() const;
Get the string from the object.
oratext* getObjString() const;
Get the type from the object.
XPathObjType getObjType() const;