<areashape="rect"href="classxercesc_1_1XMemory.html"title="This class makes it possible to override the C++ memory management by adding new/delete..."alt=""coords="5,5,136,35"/></map>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> based on the static context used to parse this query. <ahref="#a37dc848b7f57536fa700bd2be416b1f2"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Executes the query using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, returning a lazy iterator over the results. <ahref="#a3a22ddfd9faa4d7fcdf14fd1a802b331"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Executes the query or stylesheet using the given context item and <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, returning a lazy iterator over the results. <ahref="#ac32dfd917e525716437d0b5cf22296c5"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Executes the stylesheet starting at the named template using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, returning a lazy iterator over the results. <ahref="#a3d1fadbf2bb5295d907cbb3c975f2dda"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Executes the query using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, sending the output of the query to the given <aclass="el"href="classEventHandler.html">EventHandler</a>. <ahref="#ab52ee7dfe788ec943aa6be2ed1e5e1eb"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Executes the query or stylesheet using the given context item and <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, sending the output of the query to the given <aclass="el"href="classEventHandler.html">EventHandler</a>. <ahref="#a681062277a849d3ec9c1ded71a4c22dd"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Executes the stylesheet starting at the named template using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, sending the output of the query to the given <aclass="el"href="classEventHandler.html">EventHandler</a>. <ahref="#a944fd2f8b466507994a6e8d9fad1f91a"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Perform static resolution on the query. <ahref="#aeef2cfa0ea535d17cd9fd7c163a97913"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Perform type calculation and related optimizations. <ahref="#a5d8b35ae69bd80c1f56ec955ab423688"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the expression that was parsed to create this <aclass="el"href="classXQQuery.html"title="Encapsulates a query expression.">XQQuery</a> object. <ahref="#a50438749bfdca396ff857de515585e23"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the query plan as XML. This is designed for debug and informative purposes only. <ahref="#a6d1666c9dd517b08026346d778d50b1e"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the query body as an ASTNode. <ahref="#a9bdf9610f65813fdaf43c1e864deb038"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Set the query body to an ASTNode. <ahref="#a23208ecb2a66ea1437e8185dc90fc45b"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds an XQUserFunction to the query (also adds it as a template if necessary). <ahref="#ab876c486d751acb92e6ee62d78c3175a"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of all XQUserFunction objects from the query. <ahref="#a51732e054576e453c196b8bdad1582f5"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds a XQGlobalVariable to the query. <ahref="#ab11bb071fc6a34cc41a09d7a8f7922bb"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of all XQGlobalVariable objects from the query. <ahref="#a24b830095210a3c4846c82470942fd8a"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of all XQGlobalVariable objects from the query. <ahref="#a80b70ab66101dd2e938c942c466399a7"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the name of the file that this query was parsed from. <ahref="#a49033a2ed8c0cc7b95b59a0382171f32"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the name of the file that this query was parsed from. <ahref="#aa4526a237851b8c144b06010486dc646"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets whether this query is a module or not. <ahref="#abe331cfc9433f276b52d9b76290eb456"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns whether this query is a module or not. <ahref="#a6a2549e688060acc8509f86efa107b6f"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the module target namespace for this query. <ahref="#a9ac6a0983cc3f7352b9a1f0d87bfaf6d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the module taget namespace for this query. <ahref="#a236264220217a0ed71d687b63822c910"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Performs a module import from the given target namespace and locations. <ahref="#a9510ef9d81445feec067395efac4dd33"></a><br/></td></tr>
<p><aclass="el"href="classXQQuery.html"title="Encapsulates a query expression.">XQQuery</a> objects are thread safe, and can be executed from multiple threads at the same time - provided a <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> is used per thread.</p>
<p>Instances of this class can be created by using the parsing methods on the <aclass="el"href="classXQilla.html"title="Provides factory methods for creating XQQuery and DynamicContext objects.">XQilla</a> object.</p>
<p>This class is dependant on the <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> that was used to create it. This context must not be deleted before the <aclass="el"href="classXQQuery.html"title="Encapsulates a query expression.">XQQuery</a> object. Normally this is acheived by the <aclass="el"href="classXQQuery.html"title="Encapsulates a query expression.">XQQuery</a> adopting the <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> and deleting it when it is deleted. However, this behaviour can be disabled by using the <aclass="el"href="classXQilla.html#a7fbc185e109c8ce3da425054685e8ba1a99bed3057d85109e34e9f536c30dc514"title="Don't adopt the context and delete it when the XQQuery is deleted.">XQilla::NO_ADOPT_CONTEXT</a> flag when creating the <aclass="el"href="classXQQuery.html"title="Encapsulates a query expression.">XQQuery</a>. </p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<p>Creates a <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> based on the static context used to parse this query. </p>
<p>This <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> will be suitable for using to call <aclass="el"href="classXQQuery.html#a3a22ddfd9faa4d7fcdf14fd1a802b331"title="Executes the query using the given DynamicContext, returning a lazy iterator over...">execute()</a>.</p>
<tr><tdvalign="top"></td><tdvalign="top"><em>memMgr</em> </td><td>The memory manager used to create the <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>.</td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>An implementation of <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a></dd></dl>
<p>Executes the stylesheet starting at the named template using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, sending the output of the query to the given <aclass="el"href="classEventHandler.html">EventHandler</a>. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em>templateQName</em> </td><td>The name of the template to start executing. If the QName includes a prefix, it is resolved using the in-scope namespaces for the stylesheet. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>The <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> to use to execute the query. This contains runtime values for variables, the value of the context item, and other relevent information.</td></tr>
<p>Executes the query or stylesheet using the given context item and <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, sending the output of the query to the given <aclass="el"href="classEventHandler.html">EventHandler</a>. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>The <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> to use to execute the query. This contains runtime values for variables, the value of the context item, and other relevent information.</td></tr>
<p>Executes the query using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, sending the output of the query to the given <aclass="el"href="classEventHandler.html">EventHandler</a>. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>The <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> to use to execute the query. This contains runtime values for variables, the value of the context item, and other relevent information.</td></tr>
<p>Executes the stylesheet starting at the named template using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, returning a lazy iterator over the results. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em>templateQName</em> </td><td>The name of the template to start executing. If the QName includes a prefix, it is resolved using the in-scope namespaces for the stylesheet. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>The <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> to use to execute the query. This contains runtime values for variables, the value of the context item, and other relevent information.</td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The <aclass="el"href="classResult.html"title="A scoped pointer wrapper for the lazily evaluated query result.">Result</a> object - a lazy iterator over the query results.</dd></dl>
<p>Executes the query or stylesheet using the given context item and <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, returning a lazy iterator over the results. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>The <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> to use to execute the query. This contains runtime values for variables, the value of the context item, and other relevent information.</td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The <aclass="el"href="classResult.html"title="A scoped pointer wrapper for the lazily evaluated query result.">Result</a> object - a lazy iterator over the query results.</dd></dl>
<p>Executes the query using the given <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>, returning a lazy iterator over the results. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>The <aclass="el"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> to use to execute the query. This contains runtime values for variables, the value of the context item, and other relevent information.</td></tr>
<dlclass="return"><dt><b>Returns:</b></dt><dd>The <aclass="el"href="classResult.html"title="A scoped pointer wrapper for the lazily evaluated query result.">Result</a> object - a lazy iterator over the query results.</dd></dl>
<p>Returns the expression that was parsed to create this <aclass="el"href="classXQQuery.html"title="Encapsulates a query expression.">XQQuery</a> object. </p>
<p>This operation is not thread safe, and should only be performed once.</p>
<p>Static resolution resolves prefixes to namespace URIs, variable names to variables, function names to functions, and performs some basic query optimisation.</p>
<p>Normally this is done as part of parsing the query expression. However, if the <aclass="el"href="classXQilla.html#a7fbc185e109c8ce3da425054685e8ba1a3629b3bfdf036418daad522664441e9d"title="Don't perform static resolution or any optimization.">XQilla::NO_STATIC_RESOLUTION</a> flag was specified when the query was parsed, this method will have to be called to perform this step manually.</p>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>If specified, the <aclass="el"href="classStaticContext.html"title="The parse time static context interface.">StaticContext</a> to use to statically resolve this object. By default, the context used to parse the query is used. This should not need to be changed under normal usage.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classXQException.html">XQException</a></em> </td><td>If a static resolution time error occurs </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>context</em> </td><td>If specified, the <aclass="el"href="classStaticContext.html"title="The parse time static context interface.">StaticContext</a> to use to statically resolve this object. By default, the context used to parse the query is used. This should not need to be changed under normal usage.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classXQException.html">XQException</a></em> </td><td>If a static resolution time error occurs </td></tr>