XQuilla/docs/simple-api/classDynamicContext.html
2020-02-17 22:10:06 +01:00

686 lines
33 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 Simple API: DynamicContext 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.5.1 -->
<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>
<h1>DynamicContext Class Reference</h1><!-- doxytag: class="DynamicContext" --><!-- doxytag: inherits="StaticContext" -->The execution time dynamic context interface.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DynamicContext_8hpp-source.html">DynamicContext.hpp</a>&gt;</code>
<p>
Inheritance diagram for DynamicContext:<p><center><img src="classDynamicContext__inherit__graph.png" border="0" usemap="#DynamicContext__inherit__map" alt="Inheritance graph"></center>
<map name="DynamicContext__inherit__map">
<area href="classStaticContext.html" shape="rect" coords="23,82,135,106" alt="">
<area href="classxercesc_1_1XMemory.html" shape="rect" coords="5,7,152,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDynamicContext-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 Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#28e3084b59b68a270961e36dd25e6199">~DynamicContext</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#bbb18df591af8dcddee785a79bb5c51c">incrementDocumentRefCount</a> (const <a class="el" href="classxercesc_1_1DOMDocument.html">xercesc::DOMDocument</a> *document) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register a new reference to the document. <a href="#bbb18df591af8dcddee785a79bb5c51c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#889ff07578b4d3dc26578b4678826195">decrementDocumentRefCount</a> (const <a class="el" href="classxercesc_1_1DOMDocument.html">xercesc::DOMDocument</a> *document) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register a closed reference to the document. <a href="#889ff07578b4d3dc26578b4678826195"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#f27044edcd57ce4c53fd5562a98646a1">clearDynamicContext</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resets the dynamic context, as if it had never been used. <a href="#f27044edcd57ce4c53fd5562a98646a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">Item::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#f33e4831192407172ff8f702c40c2e50">getContextItem</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the context <a class="el" href="classItem.html">Item</a>. <a href="#f33e4831192407172ff8f702c40c2e50"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#93e2663a4a7a7a643a130c92173928a4">setContextItem</a> (const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;item)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the context item to item. <a href="#93e2663a4a7a7a643a130c92173928a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#62c595a5c48b7d5b7a73e270800cd607">setExternalContextNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a> *node)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the context item to an external document. <a href="#62c595a5c48b7d5b7a73e270800cd607"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#babeea18410ac2e7de2916172b28bcaa">getContextPosition</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the context position. <a href="#babeea18410ac2e7de2916172b28bcaa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#5dd1a82a7b6314ec0f5b6af88b979d68">setContextPosition</a> (unsigned int pos)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the context position. <a href="#5dd1a82a7b6314ec0f5b6af88b979d68"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#dbb6abe33fdc6fdc9fa4ea16138166c9">getContextSize</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the context size. <a href="#dbb6abe33fdc6fdc9fa4ea16138166c9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#0c38dac74b4c76be1d87670d79f0d917">setContextSize</a> (unsigned int size)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the context size. <a href="#0c38dac74b4c76be1d87670d79f0d917"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classVariableStore.html">VariableStore</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#f9293b02c96e292f1a74d0bd46fa2094">getVariableStore</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the variable store <a href="#f9293b02c96e292f1a74d0bd46fa2094"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#23ee7f0fac8fe1a699a26dec8f007edb">getCurrentTime</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current time. <a href="#23ee7f0fac8fe1a699a26dec8f007edb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#867bdae486cd14a551ada4b2c3e73c40">setCurrentTime</a> (time_t newTime)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the current time. <a href="#867bdae486cd14a551ada4b2c3e73c40"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#cc4781931739367f33c4d1278caa65ba">getImplicitTimezone</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the implicit timezone for this system. <a href="#cc4781931739367f33c4d1278caa65ba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#e13e8203c08fbd4fb239b2bba0d15ffa">setImplicitTimezone</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;timezoneAsDuration)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the implicit timezone. <a href="#e13e8203c08fbd4fb239b2bba0d15ffa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#edcb254196a5c6ebf95329651f9e466e">registerURIResolver</a> (<a class="el" href="classURIResolver.html">URIResolver</a> *resolver)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register a callback object for resolving URIs. <a href="#edcb254196a5c6ebf95329651f9e466e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequence.html">Sequence</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#408f4cd1fbb66f74b26bf7b8dfefab5f">resolveDocument</a> (const XMLCh *uri, const LocationInfo *location)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequence.html">Sequence</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#abd6a7aba1099800c1aacf80dc473ba8">resolveCollection</a> (const XMLCh *uri, const LocationInfo *location)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequence.html">Sequence</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#7cf69b3a273e1ffc3909f0670b2889ba">resolveDefaultCollection</a> ()=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">Node::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#a6c546903bb798c8b2344cb5f9dbbe6a">validate</a> (const <a class="el" href="classRefCountPointer.html">Node::Ptr</a> &amp;node, DocumentCache::ValidationMode valMode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the validated node <a href="#a6c546903bb798c8b2344cb5f9dbbe6a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#b5fcf036dd27b012e16aeb5fa7f4aab0">trace</a> (const XMLCh *message1, const XMLCh *message2)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">send a pair of strings to the "trace" data set <a href="#b5fcf036dd27b012e16aeb5fa7f4aab0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#5f9ff2ae5f458fc34e02b2c91692402f">setDebugCallback</a> (<a class="el" href="classXQDebugCallback.html">XQDebugCallback</a> *callback)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the object to be used for debugging callbacks. <a href="#5f9ff2ae5f458fc34e02b2c91692402f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classXQDebugCallback.html">XQDebugCallback</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#12746caa033435a790c10fab01d5216b">getDebugCallback</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the object to be used for debugging callbacks. <a href="#12746caa033435a790c10fab01d5216b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#18b95bf9863894b3e16c1871e898dd47">testInterrupt</a> () const</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if the query should be interrupted, and throw if so. <a href="#18b95bf9863894b3e16c1871e898dd47"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The execution time dynamic context interface.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="28e3084b59b68a270961e36dd25e6199"></a><!-- doxytag: member="DynamicContext::~DynamicContext" ref="28e3084b59b68a270961e36dd25e6199" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual DynamicContext::~DynamicContext </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="bbb18df591af8dcddee785a79bb5c51c"></a><!-- doxytag: member="DynamicContext::incrementDocumentRefCount" ref="bbb18df591af8dcddee785a79bb5c51c" args="(const xercesc::DOMDocument *document) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::incrementDocumentRefCount </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMDocument.html">xercesc::DOMDocument</a> *&nbsp;</td>
<td class="paramname"> <em>document</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Register a new reference to the document.
<p>
</div>
</div><p>
<a class="anchor" name="889ff07578b4d3dc26578b4678826195"></a><!-- doxytag: member="DynamicContext::decrementDocumentRefCount" ref="889ff07578b4d3dc26578b4678826195" args="(const xercesc::DOMDocument *document) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::decrementDocumentRefCount </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMDocument.html">xercesc::DOMDocument</a> *&nbsp;</td>
<td class="paramname"> <em>document</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Register a closed reference to the document.
<p>
</div>
</div><p>
<a class="anchor" name="f27044edcd57ce4c53fd5562a98646a1"></a><!-- doxytag: member="DynamicContext::clearDynamicContext" ref="f27044edcd57ce4c53fd5562a98646a1" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::clearDynamicContext </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Resets the dynamic context, as if it had never been used.
<p>
</div>
</div><p>
<a class="anchor" name="f33e4831192407172ff8f702c40c2e50"></a><!-- doxytag: member="DynamicContext::getContextItem" ref="f33e4831192407172ff8f702c40c2e50" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">Item::Ptr</a> DynamicContext::getContextItem </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the context <a class="el" href="classItem.html">Item</a>.
<p>
</div>
</div><p>
<a class="anchor" name="93e2663a4a7a7a643a130c92173928a4"></a><!-- doxytag: member="DynamicContext::setContextItem" ref="93e2663a4a7a7a643a130c92173928a4" args="(const Item::Ptr &amp;item)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setContextItem </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>item</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the context item to item.
<p>
</div>
</div><p>
<a class="anchor" name="62c595a5c48b7d5b7a73e270800cd607"></a><!-- doxytag: member="DynamicContext::setExternalContextNode" ref="62c595a5c48b7d5b7a73e270800cd607" args="(const xercesc::DOMNode *node)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setExternalContextNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>node</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the context item to an external document.
<p>
This is needed so that the DOMDocument reference counting does not release the document that the node comes from.
</div>
</div><p>
<a class="anchor" name="babeea18410ac2e7de2916172b28bcaa"></a><!-- doxytag: member="DynamicContext::getContextPosition" ref="babeea18410ac2e7de2916172b28bcaa" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual unsigned int DynamicContext::getContextPosition </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the context position.
<p>
</div>
</div><p>
<a class="anchor" name="5dd1a82a7b6314ec0f5b6af88b979d68"></a><!-- doxytag: member="DynamicContext::setContextPosition" ref="5dd1a82a7b6314ec0f5b6af88b979d68" args="(unsigned int pos)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setContextPosition </td>
<td>(</td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>pos</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the context position.
<p>
</div>
</div><p>
<a class="anchor" name="dbb6abe33fdc6fdc9fa4ea16138166c9"></a><!-- doxytag: member="DynamicContext::getContextSize" ref="dbb6abe33fdc6fdc9fa4ea16138166c9" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual unsigned int DynamicContext::getContextSize </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the context size.
<p>
</div>
</div><p>
<a class="anchor" name="0c38dac74b4c76be1d87670d79f0d917"></a><!-- doxytag: member="DynamicContext::setContextSize" ref="0c38dac74b4c76be1d87670d79f0d917" args="(unsigned int size)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setContextSize </td>
<td>(</td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>size</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the context size.
<p>
</div>
</div><p>
<a class="anchor" name="f9293b02c96e292f1a74d0bd46fa2094"></a><!-- doxytag: member="DynamicContext::getVariableStore" ref="f9293b02c96e292f1a74d0bd46fa2094" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classVariableStore.html">VariableStore</a>* DynamicContext::getVariableStore </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
get the variable store
<p>
</div>
</div><p>
<a class="anchor" name="23ee7f0fac8fe1a699a26dec8f007edb"></a><!-- doxytag: member="DynamicContext::getCurrentTime" ref="23ee7f0fac8fe1a699a26dec8f007edb" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual time_t DynamicContext::getCurrentTime </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return the current time.
<p>
</div>
</div><p>
<a class="anchor" name="867bdae486cd14a551ada4b2c3e73c40"></a><!-- doxytag: member="DynamicContext::setCurrentTime" ref="867bdae486cd14a551ada4b2c3e73c40" args="(time_t newTime)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setCurrentTime </td>
<td>(</td>
<td class="paramtype">time_t&nbsp;</td>
<td class="paramname"> <em>newTime</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the current time.
<p>
</div>
</div><p>
<a class="anchor" name="cc4781931739367f33c4d1278caa65ba"></a><!-- doxytag: member="DynamicContext::getImplicitTimezone" ref="cc4781931739367f33c4d1278caa65ba" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> DynamicContext::getImplicitTimezone </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return the implicit timezone for this system.
<p>
</div>
</div><p>
<a class="anchor" name="e13e8203c08fbd4fb239b2bba0d15ffa"></a><!-- doxytag: member="DynamicContext::setImplicitTimezone" ref="e13e8203c08fbd4fb239b2bba0d15ffa" args="(const ATDurationOrDerived::Ptr &amp;timezoneAsDuration)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setImplicitTimezone </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>timezoneAsDuration</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the implicit timezone.
<p>
</div>
</div><p>
<a class="anchor" name="edcb254196a5c6ebf95329651f9e466e"></a><!-- doxytag: member="DynamicContext::registerURIResolver" ref="edcb254196a5c6ebf95329651f9e466e" args="(URIResolver *resolver)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::registerURIResolver </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classURIResolver.html">URIResolver</a> *&nbsp;</td>
<td class="paramname"> <em>resolver</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Register a callback object for resolving URIs.
<p>
Multiple <a class="el" href="classURIResolver.html">URIResolver</a> objects can be registered with the <a class="el" href="classDynamicContext.html">DynamicContext</a> at the same time. The most recently added <a class="el" href="classURIResolver.html">URIResolver</a> will be called first, and if it returns NULL, subsequent ones will be called - ending in a call to the fallback routines.<p>
The <a class="el" href="classDynamicContext.html">DynamicContext</a> will not adopt this object, making the user responsible for making sure that the <a class="el" href="classURIResolver.html">URIResolver</a> object's lifespan matches or exceeds the life of the <a class="el" href="classDynamicContext.html">DynamicContext</a>.
</div>
</div><p>
<a class="anchor" name="408f4cd1fbb66f74b26bf7b8dfefab5f"></a><!-- doxytag: member="DynamicContext::resolveDocument" ref="408f4cd1fbb66f74b26bf7b8dfefab5f" args="(const XMLCh *uri, const LocationInfo *location)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classSequence.html">Sequence</a> DynamicContext::resolveDocument </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const LocationInfo *&nbsp;</td>
<td class="paramname"> <em>location</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="abd6a7aba1099800c1aacf80dc473ba8"></a><!-- doxytag: member="DynamicContext::resolveCollection" ref="abd6a7aba1099800c1aacf80dc473ba8" args="(const XMLCh *uri, const LocationInfo *location)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classSequence.html">Sequence</a> DynamicContext::resolveCollection </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const LocationInfo *&nbsp;</td>
<td class="paramname"> <em>location</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="7cf69b3a273e1ffc3909f0670b2889ba"></a><!-- doxytag: member="DynamicContext::resolveDefaultCollection" ref="7cf69b3a273e1ffc3909f0670b2889ba" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classSequence.html">Sequence</a> DynamicContext::resolveDefaultCollection </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="a6c546903bb798c8b2344cb5f9dbbe6a"></a><!-- doxytag: member="DynamicContext::validate" ref="a6c546903bb798c8b2344cb5f9dbbe6a" args="(const Node::Ptr &amp;node, DocumentCache::ValidationMode valMode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">Node::Ptr</a> DynamicContext::validate </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Node::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>node</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DocumentCache::ValidationMode&nbsp;</td>
<td class="paramname"> <em>valMode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
returns the validated node
<p>
</div>
</div><p>
<a class="anchor" name="b5fcf036dd27b012e16aeb5fa7f4aab0"></a><!-- doxytag: member="DynamicContext::trace" ref="b5fcf036dd27b012e16aeb5fa7f4aab0" args="(const XMLCh *message1, const XMLCh *message2)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::trace </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>message1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>message2</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
send a pair of strings to the "trace" data set
<p>
</div>
</div><p>
<a class="anchor" name="5f9ff2ae5f458fc34e02b2c91692402f"></a><!-- doxytag: member="DynamicContext::setDebugCallback" ref="5f9ff2ae5f458fc34e02b2c91692402f" args="(XQDebugCallback *callback)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::setDebugCallback </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXQDebugCallback.html">XQDebugCallback</a> *&nbsp;</td>
<td class="paramname"> <em>callback</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the object to be used for debugging callbacks.
<p>
</div>
</div><p>
<a class="anchor" name="12746caa033435a790c10fab01d5216b"></a><!-- doxytag: member="DynamicContext::getDebugCallback" ref="12746caa033435a790c10fab01d5216b" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classXQDebugCallback.html">XQDebugCallback</a>* DynamicContext::getDebugCallback </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the object to be used for debugging callbacks.
<p>
</div>
</div><p>
<a class="anchor" name="18b95bf9863894b3e16c1871e898dd47"></a><!-- doxytag: member="DynamicContext::testInterrupt" ref="18b95bf9863894b3e16c1871e898dd47" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void DynamicContext::testInterrupt </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Test if the query should be interrupted, and throw if so.
<p>
This method has a default implementation of no-op.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DynamicContext_8hpp-source.html">DynamicContext.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 19:14:02 2007 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>