<h1>XQillaExpression Class Reference</h1><!-- doxytag: class="XQillaExpression" --><!-- doxytag: inherits="xercesc::DOMXPathExpression" -->The <code><aclass="el"href="classXQillaExpression.html">XQillaExpression</a></code> interface extends the <code>DOMXPathExpression</code> interface, providing the ability to release the object.
Inheritance diagram for XQillaExpression:<p><center><imgsrc="classXQillaExpression__inherit__graph.png"border="0"usemap="#XQillaExpression__inherit__map"alt="Inheritance graph"></center>
<center><fontsize="2">[<ahref="graph_legend.html">legend</a>]</font></center><ahref="classXQillaExpression-members.html">List of all members.</a><tableborder="0"cellpadding="0"cellspacing="0">
<tr><td></td></tr>
<tr><tdcolspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Evaluates this XPath expression and returns a result. <ahref="#a9931c10e2959aca26f41a3058694a1c"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that this object (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. <ahref="#6efef84a7d450b4d1d5fd7747a13ef13"></a><br></td></tr>
<tr><tdcolspan="2"><br><h2>Protected Member Functions</h2></td></tr>
The <code><aclass="el"href="classXQillaExpression.html">XQillaExpression</a></code> interface extends the <code>DOMXPathExpression</code> interface, providing the ability to release the object.
<p>
The evaluate method will always return an object of type <code><aclass="el"href="classXPath2Result.html">XPath2Result</a></code><dlcompact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
Evaluates this XPath expression and returns a result.
<p>
<dlcompact><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>contextNode</em> </td><td>of type <code>DOMNode</code> The context is context node for the evaluation of this XPath expression. If the XPathEvaluator was obtained by casting the Document then this must be owned by the same document and must be a <code>DOMDocument</code>, <code>DOMElement</code>, <code>DOMAttribute</code>, <code>DOMText</code>, <code>DOMCDATASection</code>, <code>DOMComment</code>, <code>DOMProcessingInstruction</code>, or <code>XPathNamespace</code>. If the context node is a <code>DOMText</code> or a <code>DOMCDATASection</code>, then the context is interpreted as the whole logical text node as seen by XPath, unless the node is empty in which case it may not serve as the XPath context. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>type</em> </td><td>of type unsigned short If a specific type is specified, then the result will be coerced to return the specified type relying on XPath conversions and fail if the desired coercion is not possible. This must be one of the type codes of <code>XPathResult</code>. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>result</em> </td><td>of type void* The result specifies a specific result object which may be reused and returned by this method. If this is specified as nullor the implementation does not reuse the specified result, a new result object will be constructed and returned. For XPath 1.0 results, this object will be of type <code>XPathResult</code>. For XPath 2.0 results, this object will be of type <code><aclass="el"href="classXPath2Result.html">XPath2Result</a></code>. </td></tr>
</table>
</dl>
<dlcompact><dt><b>Returns:</b></dt><dd>void* The result of the evaluation of the XPath expression. For XPath 1.0 results, this object will be of type <code>XPathResult</code>. For XPath 2.0 results, this object will be of type <code><aclass="el"href="classXPath2Result.html">XPath2Result</a></code>. </dd></dl>
<dlcompact><dt><b>Exceptions:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>XPathException</em> </td><td>TYPE_ERR: Raised if the result cannot be converted to return the specified type. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>DOMException</em> </td><td>WRONG_DOCUMENT_ERR: The <code>DOMNode</code> is from a document that is not supported by the <code>XPathEvaluator</code> that created this <code>DOMXPathExpression</code>. NOT_SUPPORTED_ERR: The Node is not a type permitted as an XPath context node or the request type is not permitted by this <code>DOMXPathExpression</code>. </td></tr>
Called to indicate that this object (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children.
<p>
Access to a released object will lead to unexpected result. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>