Go to the documentation of this file.
20 #ifndef __XPATH2RESULT_HPP
21 #define __XPATH2RESULT_HPP
23 #include <xqilla/framework/XQillaExport.hpp>
72 ITERATOR_RESULT = 101,
97 virtual const XERCES_CPP_NAMESPACE_QUALIFIER DOMTypeInfo *
getTypeInfo()
const = 0;
150 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMNode*
getNodeValue()
const = 0;
virtual const xercesc::DOMTypeInfo * getTypeInfo() const =0
Returns the DOM type info of the current result node or value.
virtual ResultType getResultType() const =0
Returns the result type of this result.
ResultType
Definition: XPath2Result.hpp:70
virtual bool iterateNext()=0
Iterates and returns true if the current result is the next item from the sequence or false if there ...
virtual double getNumberValue() const =0
Conversion of the current result to double.
virtual void release()=0
Called to indicate that this object (and its associated children) is no longer in use and that the im...
The XPathResult2 interface represents the result of the evaluation of an XPath 2.0 expression within ...
Definition: XPath2Result.hpp:38
virtual bool getInvalidIteratorState() const =0
Signifies that the iterator has become invalid.
virtual bool isNode() const =0
Returns true if the result has a current result and the value is a node.
virtual xercesc::DOMNode * getNodeValue() const =0
Retrieve the current node value.
virtual ~XPath2Result()
Destructor.
Definition: XPath2Result.hpp:45
virtual int getIntegerValue() const =0
Conversion of the current result to int.
XPath2Result()
Definition: XPath2Result.hpp:208
virtual size_t getSnapshotLength() const =0
The number of items in the result snapshot.
virtual bool snapshotItem(size_t)=0
Sets the current result to the indexth item in the snapshot collection.
virtual const XMLCh * getStringValue() const =0
Conversion of the current result to string.
virtual bool getBooleanValue() const =0
Conversion of the current result to boolean.