Public Member Functions | |
| HTML_XPathResult (const QString &jsref) | |
| bool | booleanValue () const |
| double | numberValue () const |
| HTML_Object * | singleNodeValue () const |
| const char * | stringValue () const |
| int | snapshotLength () const |
| HTML_Object * | snapshotItem (int index) const |
When evauating a XPath statement on any HTML_Object (see HTML_Object::evaluateXPath()), an object of type HTML_XPathResult is returned. This object contains the results of the XPath execution.
|
|
Returns the XPath result as boolean value. |
|
|
Returns the XPath result as numerical value. |
|
|
Returns the first node of the node list if the result of the XPath execution was a node list. |
|
|
Returns the node at index index of the node list if the result of the XPath execution was a node list. |
|
|
Returns the number of nodes returned by the XPath execution. If snapshotLength is -1, no node list has been returned. |
|
|
Returns the XPath result as string value. |
1.3.6