22#if !defined(XERCESC_INCLUDE_GUARD_DOMXPATHRESULT_HPP)
23#define XERCESC_INCLUDE_GUARD_DOMXPATHRESULT_HPP
25#include <xercesc/util/XercesDefs.hpp>
27XERCES_CPP_NAMESPACE_BEGIN
29class DOMXPathNSResolver;
30class DOMXPathExpression;
349XERCES_CPP_NAMESPACE_END
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition DOMNode.hpp:139
The DOMTypeInfo interface represent a type used by DOMElement or DOMAttr nodes, specified in the sche...
Definition DOMTypeInfo.hpp:36
The DOMXPathResult interface represents the result of the evaluation of an XPath 1....
Definition DOMXPathResult.hpp:47
virtual void release()=0
Called to indicate that this DOMXPathResult is no longer in use and that the implementation may relin...
virtual DOMNode * getNodeValue() const =0
Returns the node value of this result.
virtual ~DOMXPathResult()
Destructor.
Definition DOMXPathResult.hpp:78
virtual bool isNode() const =0
Returns true if the result has a current result and the value is a node (XPath 2 only).
virtual bool snapshotItem(XMLSize_t index)=0
Sets the current result to the indexth item in the snapshot collection.
virtual const XMLCh * getStringValue() const =0
Returns the string value of this result.
virtual bool getBooleanValue() const =0
Returns the boolean value of this result.
virtual const DOMTypeInfo * getTypeInfo() const =0
Returns the DOM type info of the current result node or value (XPath 2 only).
DOMXPathResult()
Definition DOMXPathResult.hpp:55
virtual XMLSize_t getSnapshotLength() const =0
The number of items in the result snapshot.
virtual ResultType getResultType() const =0
Returns the result type of this result.
ResultType
Definition DOMXPathResult.hpp:163
@ ANY_UNORDERED_NODE_TYPE
Definition DOMXPathResult.hpp:173
@ FIRST_RESULT_TYPE
Definition DOMXPathResult.hpp:176
@ UNORDERED_NODE_ITERATOR_TYPE
Definition DOMXPathResult.hpp:169
@ ORDERED_NODE_SNAPSHOT_TYPE
Definition DOMXPathResult.hpp:172
@ SNAPSHOT_RESULT_TYPE
Definition DOMXPathResult.hpp:178
@ STRING_TYPE
Definition DOMXPathResult.hpp:167
@ FIRST_ORDERED_NODE_TYPE
Definition DOMXPathResult.hpp:174
@ NUMBER_TYPE
Definition DOMXPathResult.hpp:166
@ ORDERED_NODE_ITERATOR_TYPE
Definition DOMXPathResult.hpp:170
@ BOOLEAN_TYPE
Definition DOMXPathResult.hpp:168
@ ITERATOR_RESULT_TYPE
Definition DOMXPathResult.hpp:177
@ ANY_TYPE
Definition DOMXPathResult.hpp:165
@ UNORDERED_NODE_SNAPSHOT_TYPE
Definition DOMXPathResult.hpp:171
virtual int getIntegerValue() const =0
Returns the integer value of this result (XPath 2 only).
virtual bool getInvalidIteratorState() const =0
Signifies that the iterator has become invalid.
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
Returns the number value of this result.