XQuilla/docs/dom3-api/classxercesc_1_1DOMXPathResult.html
2020-02-17 22:08:05 +01:00

546 lines
32 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM Level 3 API: xercesc::DOMXPathResult Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a></div>
<h1>xercesc::DOMXPathResult Class Reference</h1><!-- doxytag: class="xercesc::DOMXPathResult" -->The <code><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a></code> interface represents the result of the evaluation of an XPath 1.0 expression within the context of a particular node.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMXPathResult_8hpp-source.html">DOMXPathResult.hpp</a>&gt;</code>
<p>
<a href="classxercesc_1_1DOMXPathResult-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320">resultType</a> { <br>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320b6fc18ec7cdcbc2e0a19fc2e412a3cb0">ANY_TYPE</a> = 0,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe32095277a2f32e0d3d65e19d4d2874e57c0">NUMBER_TYPE</a> = 1,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe32065b6f1dc2c92ed87e682e83b5c287b4f">STRING_TYPE</a> = 2,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320a8648b7920a771d00c8cc2f1c5f8fb1f">BOOLEAN_TYPE</a> = 3,
<br>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe3201097beaa1a15b56caf3bb211359ea308">UNORDERED_NODE_ITERATOR_TYPE</a> = 4,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320a21cad088d12984672f859643d84e0bd">ORDERED_NODE_ITERATOR_TYPE</a> = 5,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320d6bc2afd0d37b33ab8086ca48111bb71">UNORDERED_NODE_SNAPSHOT_TYPE</a> = 6,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe3204046a5b89b1293c03e02a7c889ccde17">ORDERED_NODE_SNAPSHOT_TYPE</a> = 7,
<br>
&nbsp;&nbsp;<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe32009a91bfc868e07e24171ffee7cd446c2">ANY_UNORDERED_NODE_TYPE</a> = 8,
<a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320832c2b62b22eab949c098fd20c92fb78">FIRST_ORDERED_NODE_TYPE</a> = 9
<br>
}</td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#42f4681378ebc025e616c985675c05bc">~DOMXPathResult</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#42f4681378ebc025e616c985675c05bc"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#8ddc30c8ae198ae01988a183d5f10f99">getBooleanValue</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the boolean value of this result. <a href="#8ddc30c8ae198ae01988a183d5f10f99"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#cff93a8e921545526ffa38ac55935923">getInvalidIteratorState</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the state of the iterator. <a href="#cff93a8e921545526ffa38ac55935923"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#e101f415cd2160e4eb53896fdd9c6b02">getNumberValue</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number value of this result. <a href="#e101f415cd2160e4eb53896fdd9c6b02"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#563c564859c464d8f048fbc49856bdbc">getResultType</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the result type of this result. <a href="#563c564859c464d8f048fbc49856bdbc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#fe6599b4ce7c1a322e4d2a907e1072b9">getSingleNodeValue</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the single node value of this result. <a href="#fe6599b4ce7c1a322e4d2a907e1072b9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#742d8d13ad0cbf338063db607abb48a8">getSnapshotLength</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the snapshot length. <a href="#742d8d13ad0cbf338063db607abb48a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#826fa65e2e6d9538212a471ac5f389a4">getStringValue</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the string value of this result. <a href="#826fa65e2e6d9538212a471ac5f389a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#db3b61c881863ee50a86ce227f251e16">iterateNext</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterates and returns the next node from the node set or nullif there are no more nodes. <a href="#db3b61c881863ee50a86ce227f251e16"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#fec58bdea56dedff2fbcfbc329d4e5d0">snapshotItem</a> (unsigned long index) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the indexth item in the snapshot collection. <a href="#fec58bdea56dedff2fbcfbc329d4e5d0"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathResult.html#983bbfe3c55811f5f2a33908c4db8f2d">DOMXPathResult</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a></code> interface represents the result of the evaluation of an XPath 1.0 expression within the context of a particular node.
<p>
Since evaluation of an XPath expression can result in various result types, this object makes it possible to discover and manipulate the type and value of the result. <dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="d88b708a7b7b165f4f30e054f8abe320"></a><!-- doxytag: member="xercesc::DOMXPathResult::resultType" ref="d88b708a7b7b165f4f30e054f8abe320" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="classxercesc_1_1DOMXPathResult.html#d88b708a7b7b165f4f30e054f8abe320">xercesc::DOMXPathResult::resultType</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
ANY_TYPE <br>
This code does not represent a specific type. An evaluation of an XPath expression will never produce this type. If this type is requested, then the evaluation returns whatever type naturally results from evaluation of the expression. If the natural result is a node set when ANY_TYPE was requested, then UNORDERED_NODE_ITERATOR_TYPE is always the resulting type. Any other representation of a node set must be explicitly requested. <p>
ANY_UNORDERED_NODE_TYPE <br>
The result is a node set as defined by [XPath 1.0] and will be accessed as a single node, which may be nullif the node set is empty. Document modification does not invalidate the node, but may mean that the result node no longer corresponds to the current document. This is a convenience that permits optimization since the implementation can stop once any node in the resulting set has been found. If there is more than one node in the actual result, the single node returned might not be the first in document order. <p>
BOOLEAN_TYPE <br>
The result is a boolean as defined by [XPath 1.0]. Document modification does not invalidate the boolean, but may mean that reevaluation would not yield the same boolean. <p>
FIRST_ORDERED_NODE_TYPE <br>
The result is a node set as defined by [XPath 1.0] and will be accessed as a single node, which may be null if the node set is empty. Document modification does not invalidate the node, but may mean that the result node no longer corresponds to the current document. This is a convenience that permits optimization since the implementation can stop once the first node in document order of the resulting set has been found. If there are more than one node in the actual result, the single node returned will be the first in document order. <p>
NUMBER_TYPE <br>
The result is a number as defined by [XPath 1.0]. Document modification does not invalidate the number, but may mean that reevaluation would not yield the same number. <p>
ORDERED_NODE_ITERATOR_TYPE <br>
The result is a node set as defined by [XPath 1.0] that will be accessed iteratively, which will produce document-ordered nodes. Document modification invalidates the iteration. <p>
ORDERED_NODE_SNAPSHOT_TYPE <br>
The result is a node set as defined by [XPath 1.0] that will be accessed as a snapshot list of nodes that will be in original document order. Document modification does not invalidate the snapshot but may mean that reevaluation would not yield the same snapshot and nodes in the snapshot may have been altered, moved, or removed from the document. <p>
STRING_TYPE <br>
The result is a string as defined by [XPath 1.0]. Document modification does not invalidate the string, but may mean that the string no longer corresponds to the current document. <p>
UNORDERED_NODE_ITERATOR_TYPE <br>
The result is a node set as defined by [XPath 1.0] that will be accessed iteratively, which may not produce nodes in a particular order. Document modification invalidates the iteration. This is the default type returned if the result is a node set and ANY_TYPE is requested. <p>
UNORDERED_NODE_SNAPSHOT_TYPE <br>
The result is a node set as defined by [XPath 1.0] that will be accessed as a snapshot list of nodes that may not be in a particular order. Document modification does not invalidate the snapshot but may mean that reevaluation would not yield the same snapshot and nodes in the snapshot may have been altered, moved, or removed from the document. <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe320b6fc18ec7cdcbc2e0a19fc2e412a3cb0"></a><!-- doxytag: member="ANY_TYPE" ref="d88b708a7b7b165f4f30e054f8abe320b6fc18ec7cdcbc2e0a19fc2e412a3cb0" args="" -->ANY_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe32095277a2f32e0d3d65e19d4d2874e57c0"></a><!-- doxytag: member="NUMBER_TYPE" ref="d88b708a7b7b165f4f30e054f8abe32095277a2f32e0d3d65e19d4d2874e57c0" args="" -->NUMBER_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe32065b6f1dc2c92ed87e682e83b5c287b4f"></a><!-- doxytag: member="STRING_TYPE" ref="d88b708a7b7b165f4f30e054f8abe32065b6f1dc2c92ed87e682e83b5c287b4f" args="" -->STRING_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe320a8648b7920a771d00c8cc2f1c5f8fb1f"></a><!-- doxytag: member="BOOLEAN_TYPE" ref="d88b708a7b7b165f4f30e054f8abe320a8648b7920a771d00c8cc2f1c5f8fb1f" args="" -->BOOLEAN_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe3201097beaa1a15b56caf3bb211359ea308"></a><!-- doxytag: member="UNORDERED_NODE_ITERATOR_TYPE" ref="d88b708a7b7b165f4f30e054f8abe3201097beaa1a15b56caf3bb211359ea308" args="" -->UNORDERED_NODE_ITERATOR_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe320a21cad088d12984672f859643d84e0bd"></a><!-- doxytag: member="ORDERED_NODE_ITERATOR_TYPE" ref="d88b708a7b7b165f4f30e054f8abe320a21cad088d12984672f859643d84e0bd" args="" -->ORDERED_NODE_ITERATOR_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe320d6bc2afd0d37b33ab8086ca48111bb71"></a><!-- doxytag: member="UNORDERED_NODE_SNAPSHOT_TYPE" ref="d88b708a7b7b165f4f30e054f8abe320d6bc2afd0d37b33ab8086ca48111bb71" args="" -->UNORDERED_NODE_SNAPSHOT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe3204046a5b89b1293c03e02a7c889ccde17"></a><!-- doxytag: member="ORDERED_NODE_SNAPSHOT_TYPE" ref="d88b708a7b7b165f4f30e054f8abe3204046a5b89b1293c03e02a7c889ccde17" args="" -->ORDERED_NODE_SNAPSHOT_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe32009a91bfc868e07e24171ffee7cd446c2"></a><!-- doxytag: member="ANY_UNORDERED_NODE_TYPE" ref="d88b708a7b7b165f4f30e054f8abe32009a91bfc868e07e24171ffee7cd446c2" args="" -->ANY_UNORDERED_NODE_TYPE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d88b708a7b7b165f4f30e054f8abe320832c2b62b22eab949c098fd20c92fb78"></a><!-- doxytag: member="FIRST_ORDERED_NODE_TYPE" ref="d88b708a7b7b165f4f30e054f8abe320832c2b62b22eab949c098fd20c92fb78" args="" -->FIRST_ORDERED_NODE_TYPE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="983bbfe3c55811f5f2a33908c4db8f2d"></a><!-- doxytag: member="xercesc::DOMXPathResult::DOMXPathResult" ref="983bbfe3c55811f5f2a33908c4db8f2d" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMXPathResult::DOMXPathResult </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="42f4681378ebc025e616c985675c05bc"></a><!-- doxytag: member="xercesc::DOMXPathResult::~DOMXPathResult" ref="42f4681378ebc025e616c985675c05bc" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual xercesc::DOMXPathResult::~DOMXPathResult </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8ddc30c8ae198ae01988a183d5f10f99"></a><!-- doxytag: member="xercesc::DOMXPathResult::getBooleanValue" ref="8ddc30c8ae198ae01988a183d5f10f99" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual bool xercesc::DOMXPathResult::getBooleanValue </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the boolean value of this result.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>booleanValue of type boolean, readonly The value of this boolean result. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not BOOLEAN_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="cff93a8e921545526ffa38ac55935923"></a><!-- doxytag: member="xercesc::DOMXPathResult::getInvalidIteratorState" ref="cff93a8e921545526ffa38ac55935923" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual bool xercesc::DOMXPathResult::getInvalidIteratorState </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the state of the iterator.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>invalidIteratorState Signifies that the iterator has become invalid. True if resultType is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE and the document has been modified since this result was returned. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not NUMBER_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="e101f415cd2160e4eb53896fdd9c6b02"></a><!-- doxytag: member="xercesc::DOMXPathResult::getNumberValue" ref="e101f415cd2160e4eb53896fdd9c6b02" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual double xercesc::DOMXPathResult::getNumberValue </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the number value of this result.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>numberValue The value of this number result. If the native double type of the DOM binding does not directly support the exact IEEE 754 result of the XPath expression, then it is up to the definition of the binding to specify how the XPath number is converted to the native binding number. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not NUMBER_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="563c564859c464d8f048fbc49856bdbc"></a><!-- doxytag: member="xercesc::DOMXPathResult::getResultType" ref="563c564859c464d8f048fbc49856bdbc" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual short xercesc::DOMXPathResult::getResultType </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the result type of this result.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>resultType A code representing the type of this result, as defined by the type constants. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not ANY_UNORDERED_NODE_TYPE or FIRST_ORDERED_NODE_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="fe6599b4ce7c1a322e4d2a907e1072b9"></a><!-- doxytag: member="xercesc::DOMXPathResult::getSingleNodeValue" ref="fe6599b4ce7c1a322e4d2a907e1072b9" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMXPathResult::getSingleNodeValue </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the single node value of this result.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>singleNodeValue The value of this single node result, which may be null. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not ANY_UNORDERED_NODE_TYPE or FIRST_ORDERED_NODE_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="742d8d13ad0cbf338063db607abb48a8"></a><!-- doxytag: member="xercesc::DOMXPathResult::getSnapshotLength" ref="742d8d13ad0cbf338063db607abb48a8" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual unsigned long xercesc::DOMXPathResult::getSnapshotLength </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the snapshot length.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>snapshotLength The number of nodes in the result snapshot. Valid values for snapshotItem indices are 0 to snapshotLength-1 inclusive. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not UNORDERED_NODE_SNAPSHOT_TYPE or ORDERED_NODE_SNAPSHOT_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="826fa65e2e6d9538212a471ac5f389a4"></a><!-- doxytag: member="xercesc::DOMXPathResult::getStringValue" ref="826fa65e2e6d9538212a471ac5f389a4" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMXPathResult::getStringValue </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the string value of this result.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>stringValue The value of this string result. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not STRING_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="db3b61c881863ee50a86ce227f251e16"></a><!-- doxytag: member="xercesc::DOMXPathResult::iterateNext" ref="db3b61c881863ee50a86ce227f251e16" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMXPathResult::iterateNext </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Iterates and returns the next node from the node set or nullif there are no more nodes.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the next node. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: The document has been mutated since the result was returned. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="fec58bdea56dedff2fbcfbc329d4e5d0"></a><!-- doxytag: member="xercesc::DOMXPathResult::snapshotItem" ref="fec58bdea56dedff2fbcfbc329d4e5d0" args="(unsigned long index) const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMXPathResult::snapshotItem </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">unsigned long&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>index</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the indexth item in the snapshot collection.
<p>
If index is greater than or equal to the number of nodes in the list, this method returns null. Unlike the iterator result, the snapshot does not become invalid, but may not correspond to the current document if it is mutated. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>of type unsigned long - Index into the snapshot collection. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The node at the indexth position in the NodeList, or null if that is not a valid index. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>XPathException</em>&nbsp;</td><td>TYPE_ERR: raised if resultType is not UNORDERED_NODE_SNAPSHOT_TYPE or ORDERED_NODE_SNAPSHOT_TYPE. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMXPathResult_8hpp-source.html">DOMXPathResult.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:13 2007 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>