XQuilla/docs/simple-api/StaticContext_8hpp_source.html
2020-02-17 22:21:23 +01:00

223 lines
28 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 Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<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><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
<h1>StaticContext.hpp</h1><a href="StaticContext_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 2001-2008</span>
<a name="l00003"></a>00003 <span class="comment"> * DecisionSoft Limited. All rights reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2004-2008</span>
<a name="l00005"></a>00005 <span class="comment"> * Oracle. All rights reserved.</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span>
<a name="l00008"></a>00008 <span class="comment"> * you may not use this file except in compliance with the License.</span>
<a name="l00009"></a>00009 <span class="comment"> * You may obtain a copy of the License at</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00014"></a>00014 <span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<a name="l00015"></a>00015 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00016"></a>00016 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00017"></a>00017 <span class="comment"> * limitations under the License.</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * $Id$</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef _STATICCONTEXT_HPP</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define _STATICCONTEXT_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;xqilla/framework/XQillaExport.hpp&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="XQilla_8hpp.html">xqilla/simple-api/XQilla.hpp</a>&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;time.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="DocumentCache_8hpp.html">xqilla/schema/DocumentCache.hpp</a>&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;<a class="code" href="XMemory_8hpp.html">xercesc/util/XMemory.hpp</a>&gt;</span>
<a name="l00031"></a>00031
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a>;
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span>FuncFactory;
<a name="l00035"></a>00035 <span class="keyword">class </span>DatatypeFactory;
<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="classCollation.html">Collation</a>;
<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="classVariableTypeStore.html" title="This is the wrapper class for the variable store, which implements the lookup and...">VariableTypeStore</a>;
<a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="classItemFactory.html">ItemFactory</a>;
<a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="classStaticType.html" title="Class that represents the static type of an expression.">StaticType</a>;
<a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="classModuleResolver.html">ModuleResolver</a>;
<a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="classExternalFunctionResolver.html">ExternalFunctionResolver</a>;
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classMessageListener.html" title="A class used to listen for warnings or trace information.">MessageListener</a>;
<a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="classExternalFunction.html">ExternalFunction</a>;
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="classXQillaConfiguration.html">XQillaConfiguration</a>;
<a name="l00045"></a>00045 <span class="keyword">class </span>XQUserFunction;
<a name="l00046"></a><a class="code" href="StaticContext_8hpp.html#a945a726d9c06a9f5a66be9834475e658">00046</a> <span class="keyword">class </span>XQillaNSResolver;
<a name="l00047"></a>00047
<a name="l00048"></a>00048 <span class="comment">// Copied from ASTNode.hpp</span>
<a name="l00049"></a>00049 <span class="keyword">typedef</span> std::vector&lt;ASTNode*,XQillaAllocator&lt;ASTNode*&gt; &gt; <a class="code" href="StaticContext_8hpp.html#a945a726d9c06a9f5a66be9834475e658">VectorOfASTNodes</a>;
<a name="l00050"></a><a class="code" href="StaticContext_8hpp.html#a120407438cc6ede3bc7b57aae806741c">00050</a> <span class="keyword">typedef</span> std::vector&lt;XQUserFunction*, XQillaAllocator&lt;XQUserFunction*&gt; &gt; <a class="code" href="StaticContext_8hpp.html#a120407438cc6ede3bc7b57aae806741c">UserFunctions</a>;
<a name="l00051"></a>00051
<a name="l00052"></a>00052 XERCES_CPP_NAMESPACE_BEGIN
<a name="l00053"></a>00053 <span class="keyword">class </span>DOMDocument;
<a name="l00054"></a>00054 <span class="keyword">class </span>DOMXPathNSResolver;
<a name="l00055"></a>00055 <span class="keyword">class </span>XMLEntityResolver;
<a name="l00056"></a>00056 XERCES_CPP_NAMESPACE_END
<a name="l00057"></a>00057
<a name="l00059"></a><a class="code" href="classStaticContext.html">00059</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classStaticContext.html" title="The parse time static context interface.">StaticContext</a> : <span class="keyword">public</span> XERCES_CPP_NAMESPACE_QUALIFIER XMemory
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <span class="keyword">public</span>:
<a name="l00062"></a><a class="code" href="classStaticContext.html#ab8bafb380375462baaed1f97db7314cd">00062</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00063"></a><a class="code" href="classStaticContext.html#ab8bafb380375462baaed1f97db7314cda99710447314270a3b0c3c418543ecf62">00063</a> ORDERING_ORDERED,
<a name="l00064"></a><a class="code" href="classStaticContext.html#ab8bafb380375462baaed1f97db7314cda11863f7ffef852eb2467b9c3b0236f86">00064</a> ORDERING_UNORDERED
<a name="l00065"></a>00065 } NodeSetOrdering;
<a name="l00066"></a>00066
<a name="l00067"></a><a class="code" href="classStaticContext.html#aafd3dd12453e8237c20895f80a9360a1">00067</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00068"></a><a class="code" href="classStaticContext.html#aafd3dd12453e8237c20895f80a9360a1aad92a50d77bdbefde57d5cb389314b69">00068</a> CONSTRUCTION_MODE_PRESERVE,
<a name="l00069"></a><a class="code" href="classStaticContext.html#aafd3dd12453e8237c20895f80a9360a1a9b1c0f9a604a1a7bd66475d216798d32">00069</a> CONSTRUCTION_MODE_STRIP
<a name="l00070"></a>00070 } ConstructionMode;
<a name="l00071"></a>00071
<a name="l00072"></a><a class="code" href="classStaticContext.html#ae2f0da091c646c1fce65483226d9c6ac">00072</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00073"></a><a class="code" href="classStaticContext.html#ae2f0da091c646c1fce65483226d9c6aca4dd72aae9d9222dce51a86103ab10cad">00073</a> FLWOR_ORDER_EMPTY_GREATEST,
<a name="l00074"></a><a class="code" href="classStaticContext.html#ae2f0da091c646c1fce65483226d9c6aca6725b7b4fb071fd4253cf15a529819e5">00074</a> FLWOR_ORDER_EMPTY_LEAST
<a name="l00075"></a>00075 } FLWOROrderingMode;
<a name="l00076"></a>00076
<a name="l00077"></a><a class="code" href="classStaticContext.html#aab10e680c7e45b1f1c15af9954fff65a">00077</a> <span class="keyword">virtual</span> <a class="code" href="classStaticContext.html#aab10e680c7e45b1f1c15af9954fff65a">~StaticContext</a>() {};
<a name="l00078"></a>00078
<a name="l00079"></a>00079 <span class="keyword">virtual</span> <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *createModuleContext(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00080"></a>00080 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) <span class="keyword">const</span> = 0;
<a name="l00081"></a>00081 <span class="keyword">virtual</span> <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *createDynamicContext(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00082"></a>00082 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) <span class="keyword">const</span> = 0;
<a name="l00083"></a>00083
<a name="l00084"></a>00084 <span class="keyword">virtual</span> <a class="code" href="classDynamicContext.html" title="The execution time dynamic context interface.">DynamicContext</a> *createDebugQueryContext(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Item::Ptr</a> &amp;contextItem,
<a name="l00085"></a>00085 <span class="keywordtype">size_t</span> contextPosition,
<a name="l00086"></a>00086 <span class="keywordtype">size_t</span> contextSize,
<a name="l00087"></a>00087 <span class="keyword">const</span> <a class="code" href="classVariableStore.html" title="The pure virtual base class for accessing variables at runtime.">VariableStore</a> *variables,
<a name="l00088"></a>00088 <span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver *nsResolver,
<a name="l00089"></a>00089 <span class="keyword">const</span> XMLCh *defaultElementNS,
<a name="l00090"></a>00090 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00091"></a>00091 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) <span class="keyword">const</span> = 0;
<a name="l00092"></a>00092
<a name="l00094"></a>00094 <span class="keyword">virtual</span> <a class="code" href="classXQillaConfiguration.html">XQillaConfiguration</a> *getConfiguration() <span class="keyword">const</span> = 0;
<a name="l00095"></a>00095
<a name="l00098"></a>00098 <span class="keyword">virtual</span> <a class="code" href="classXQilla.html#a841f488b890ff0e4d20b5000f2e1ce4d" title="Enumeration used to select a language to parse.">XQilla::Language</a> getLanguage() <span class="keyword">const</span> = 0;
<a name="l00099"></a>00099
<a name="l00101"></a>00101 <span class="keyword">virtual</span> <a class="code" href="classItemFactory.html">ItemFactory</a> *getItemFactory() <span class="keyword">const</span> = 0;
<a name="l00103"></a>00103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setItemFactory(<a class="code" href="classItemFactory.html">ItemFactory</a> *factory) = 0;
<a name="l00104"></a>00104
<a name="l00106"></a>00106 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classStaticType.html" title="Class that represents the static type of an expression.">StaticType</a> &amp;getContextItemType() <span class="keyword">const</span> = 0;
<a name="l00108"></a>00108 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setContextItemType(<span class="keyword">const</span> <a class="code" href="classStaticType.html" title="Class that represents the static type of an expression.">StaticType</a> &amp;st) = 0;
<a name="l00109"></a>00109
<a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getXPath1CompatibilityMode() <span class="keyword">const</span> = 0;
<a name="l00113"></a>00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setXPath1CompatibilityMode(<span class="keywordtype">bool</span> newMode) = 0;
<a name="l00114"></a>00114
<a name="l00116"></a>00116 <span class="keyword">virtual</span> <span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* getNSResolver() <span class="keyword">const</span> = 0;
<a name="l00119"></a>00119 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getUriBoundToPrefix(<span class="keyword">const</span> XMLCh* prefix, <span class="keyword">const</span> <a class="code" href="classLocationInfo.html" title="A class that gives records a location in the query.">LocationInfo</a> *location = 0) <span class="keyword">const</span> = 0;
<a name="l00122"></a>00122 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getPrefixBoundToUri(<span class="keyword">const</span> XMLCh* uri) <span class="keyword">const</span> = 0;
<a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNSResolver(<span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* resolver) = 0;
<a name="l00126"></a>00126 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNamespaceBinding(<span class="keyword">const</span> XMLCh* prefix, <span class="keyword">const</span> XMLCh* uri) = 0;
<a name="l00127"></a>00127
<a name="l00129"></a>00129 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getDefaultElementAndTypeNS() <span class="keyword">const</span> = 0;
<a name="l00131"></a>00131 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultElementAndTypeNS(<span class="keyword">const</span> XMLCh* newNS) = 0;
<a name="l00132"></a>00132
<a name="l00134"></a>00134 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getDefaultFuncNS() <span class="keyword">const</span> = 0;
<a name="l00136"></a>00136 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultFuncNS(<span class="keyword">const</span> XMLCh* newNS) = 0;
<a name="l00137"></a>00137
<a name="l00139"></a>00139 <span class="keyword">virtual</span> <a class="code" href="classDocumentCache.html" title="Expression Context is a storage for contexts.">DocumentCache</a>* getDocumentCache() <span class="keyword">const</span> = 0;
<a name="l00141"></a>00141 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDocumentCache(<a class="code" href="classDocumentCache.html" title="Expression Context is a storage for contexts.">DocumentCache</a>* docCache) = 0;
<a name="l00142"></a>00142
<a name="l00151"></a>00151 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isTypeOrDerivedFromType(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> uri, <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> typeName, <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> uriToCheck, <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> typeNameToCheck) <span class="keyword">const</span> = 0;
<a name="l00157"></a>00157 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setXMLEntityResolver(XERCES_CPP_NAMESPACE_QUALIFIER XMLEntityResolver* <span class="keyword">const</span> handler) = 0;
<a name="l00159"></a>00159 <span class="keyword">virtual</span> XERCES_CPP_NAMESPACE_QUALIFIER XMLEntityResolver* getXMLEntityResolver() <span class="keyword">const</span> = 0;
<a name="l00160"></a>00160
<a name="l00162"></a>00162 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setModuleResolver(<a class="code" href="classModuleResolver.html">ModuleResolver</a> *resolver) = 0;
<a name="l00164"></a>00164 <span class="keyword">virtual</span> <a class="code" href="classModuleResolver.html">ModuleResolver</a> *getModuleResolver() <span class="keyword">const</span> = 0;
<a name="l00165"></a>00165 <span class="comment">/* Retrieve a list of locations for the given module URI */</span>
<a name="l00166"></a>00166 <span class="keyword">virtual</span> <a class="code" href="DocumentCache_8hpp.html#aaab74fdf21f46c72dd5e97f48fecb3b6">VectorOfStrings</a>* resolveModuleURI(<span class="keyword">const</span> XMLCh* uri) <span class="keyword">const</span> = 0;
<a name="l00167"></a>00167
<a name="l00169"></a>00169 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addSchemaLocation(<span class="keyword">const</span> XMLCh* uri, <a class="code" href="DocumentCache_8hpp.html#aaab74fdf21f46c72dd5e97f48fecb3b6">VectorOfStrings</a>* locations, <span class="keyword">const</span> <a class="code" href="classLocationInfo.html" title="A class that gives records a location in the query.">LocationInfo</a> *location = 0) = 0;
<a name="l00170"></a>00170
<a name="l00172"></a>00172 <span class="keyword">virtual</span> <a class="code" href="classVariableTypeStore.html" title="This is the wrapper class for the variable store, which implements the lookup and...">VariableTypeStore</a>* getVariableTypeStore() = 0;
<a name="l00173"></a>00173
<a name="l00175"></a>00175 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addTemplate(XQUserFunction *tp) = 0;
<a name="l00177"></a>00177 <span class="keyword">virtual</span> <span class="keyword">const</span> XQUserFunction *lookUpNamedTemplate(<span class="keyword">const</span> XMLCh *uri, <span class="keyword">const</span> XMLCh *name) <span class="keyword">const</span> = 0;
<a name="l00179"></a>00179 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="StaticContext_8hpp.html#a120407438cc6ede3bc7b57aae806741c">UserFunctions</a> &amp;getTemplateRules() <span class="keyword">const</span> = 0;
<a name="l00180"></a>00180
<a name="l00182"></a>00182 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addCustomFunction(FuncFactory *func) = 0;
<a name="l00184"></a>00184 <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeCustomFunction(FuncFactory *func) = 0;
<a name="l00186"></a>00186 <span class="keyword">virtual</span> ASTNode *lookUpFunction(<span class="keyword">const</span> XMLCh *uri, <span class="keyword">const</span> XMLCh *name, <span class="keyword">const</span> <a class="code" href="StaticContext_8hpp.html#a945a726d9c06a9f5a66be9834475e658">VectorOfASTNodes</a> &amp;v) <span class="keyword">const</span> = 0;
<a name="l00187"></a>00187
<a name="l00189"></a>00189 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setExternalFunctionResolver(<a class="code" href="classExternalFunctionResolver.html">ExternalFunctionResolver</a> *resolver) = 0;
<a name="l00191"></a>00191 <span class="keyword">virtual</span> <a class="code" href="classExternalFunctionResolver.html">ExternalFunctionResolver</a> *getExternalFunctionResolver() <span class="keyword">const</span> = 0;
<a name="l00193"></a>00193 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addExternalFunction(<span class="keyword">const</span> <a class="code" href="classExternalFunction.html">ExternalFunction</a> *func) = 0;
<a name="l00195"></a>00195 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classExternalFunction.html">ExternalFunction</a> *lookUpExternalFunction(<span class="keyword">const</span> XMLCh *uri, <span class="keyword">const</span> XMLCh *name, <span class="keywordtype">size_t</span> numArgs) <span class="keyword">const</span> = 0;
<a name="l00196"></a>00196
<a name="l00198"></a>00198 <span class="keyword">virtual</span> <a class="code" href="classCollation.html">Collation</a>* getCollation(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> URI, <span class="keyword">const</span> <a class="code" href="classLocationInfo.html" title="A class that gives records a location in the query.">LocationInfo</a> *location = 0) <span class="keyword">const</span> = 0;
<a name="l00200"></a>00200 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addCollation(<a class="code" href="classCollation.html">Collation</a>* collation) = 0;
<a name="l00201"></a>00201
<a name="l00203"></a>00203 <span class="keyword">virtual</span> <a class="code" href="classCollation.html">Collation</a>* getDefaultCollation(<span class="keyword">const</span> <a class="code" href="classLocationInfo.html" title="A class that gives records a location in the query.">LocationInfo</a> *location = 0) <span class="keyword">const</span> = 0;
<a name="l00205"></a>00205 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultCollation(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> URI) = 0;
<a name="l00206"></a>00206
<a name="l00208"></a>00208 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getBaseURI() <span class="keyword">const</span> = 0;
<a name="l00210"></a>00210 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBaseURI(<span class="keyword">const</span> XMLCh* newURI) = 0;
<a name="l00211"></a>00211
<a name="l00213"></a>00213 <span class="keyword">virtual</span> NodeSetOrdering getNodeSetOrdering() <span class="keyword">const</span> = 0;
<a name="l00215"></a>00215 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNodeSetOrdering(NodeSetOrdering newOrder) = 0;
<a name="l00216"></a>00216
<a name="l00218"></a>00218 <span class="keyword">virtual</span> ConstructionMode getConstructionMode() <span class="keyword">const</span> = 0;
<a name="l00220"></a>00220 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setConstructionMode(ConstructionMode newMode) = 0;
<a name="l00221"></a>00221
<a name="l00223"></a>00223 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPreserveBoundarySpace(<span class="keywordtype">bool</span> value) = 0;
<a name="l00225"></a>00225 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getPreserveBoundarySpace() <span class="keyword">const</span> = 0;
<a name="l00226"></a>00226
<a name="l00228"></a>00228 <span class="keyword">virtual</span> FLWOROrderingMode getDefaultFLWOROrderingMode() <span class="keyword">const</span> = 0;
<a name="l00230"></a>00230 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultFLWOROrderingMode(FLWOROrderingMode newMode) = 0;
<a name="l00231"></a>00231
<a name="l00233"></a>00233 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setInheritNamespaces(<span class="keywordtype">bool</span> value) = 0;
<a name="l00235"></a>00235 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getInheritNamespaces() <span class="keyword">const</span> = 0;
<a name="l00236"></a>00236
<a name="l00238"></a>00238 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPreserveNamespaces(<span class="keywordtype">bool</span> value) = 0;
<a name="l00240"></a>00240 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getPreserveNamespaces() <span class="keyword">const</span> = 0;
<a name="l00241"></a>00241
<a name="l00243"></a>00243 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRevalidationMode(<a class="code" href="classDocumentCache.html#a1a52f4dee29626e4085603be380aca4f">DocumentCache::ValidationMode</a> mode) = 0;
<a name="l00245"></a>00245 <span class="keyword">virtual</span> <a class="code" href="classDocumentCache.html#a1a52f4dee29626e4085603be380aca4f">DocumentCache::ValidationMode</a> getRevalidationMode() <span class="keyword">const</span> = 0;
<a name="l00246"></a>00246
<a name="l00248"></a>00248 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMessageListener(<a class="code" href="classMessageListener.html" title="A class used to listen for warnings or trace information.">MessageListener</a> *listener) = 0;
<a name="l00250"></a>00250 <span class="keyword">virtual</span> <a class="code" href="classMessageListener.html" title="A class used to listen for warnings or trace information.">MessageListener</a> *getMessageListener() <span class="keyword">const</span> = 0;
<a name="l00251"></a>00251
<a name="l00253"></a>00253 <span class="comment">// XQilla context specific accessors //</span>
<a name="l00255"></a>00255 <span class="comment"></span>
<a name="l00269"></a>00269 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getProjection() <span class="keyword">const</span> = 0;
<a name="l00286"></a>00286 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setProjection(<span class="keywordtype">bool</span> enabled) = 0;
<a name="l00287"></a>00287
<a name="l00288"></a>00288 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getDoLintWarnings() <span class="keyword">const</span> = 0;
<a name="l00289"></a>00289 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDoLintWarnings(<span class="keywordtype">bool</span> enabled) = 0;
<a name="l00290"></a>00290
<a name="l00292"></a>00292 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh *allocateTempVarName(<span class="keyword">const</span> XMLCh *prefix = 0) = 0;
<a name="l00293"></a>00293
<a name="l00295"></a>00295 <span class="keyword">virtual</span> <a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>* getMemoryManager() <span class="keyword">const</span> = 0;
<a name="l00297"></a>00297 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMemoryManager(<a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>* memMgr) = 0;
<a name="l00298"></a>00298 };
<a name="l00299"></a>00299
<a name="l00300"></a>00300 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:15:51 2010 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>