118 lines
13 KiB
HTML
118 lines
13 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&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">include</a> / <a class="el" href="dir_000001.html">xqilla</a> / <a class="el" href="dir_000003.html">context</a></div>
|
|
<h1>DynamicContext.hpp</h1><a href="DynamicContext_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
|
|
00002 <span class="comment"> * Copyright (c) 2001-2008</span>
|
|
00003 <span class="comment"> * DecisionSoft Limited. All rights reserved.</span>
|
|
00004 <span class="comment"> * Copyright (c) 2004-2008</span>
|
|
00005 <span class="comment"> * Oracle. All rights reserved.</span>
|
|
00006 <span class="comment"> *</span>
|
|
00007 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
|
|
00008 <span class="comment"> * you may not use this file except in compliance with the License.</span>
|
|
00009 <span class="comment"> * You may obtain a copy of the License at</span>
|
|
00010 <span class="comment"> *</span>
|
|
00011 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
00012 <span class="comment"> *</span>
|
|
00013 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
00014 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
00015 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
00016 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
00017 <span class="comment"> * limitations under the License.</span>
|
|
00018 <span class="comment"> *</span>
|
|
00019 <span class="comment"> * $Id: DynamicContext.hpp 603 2008-08-18 23:40:47Z jpcs $</span>
|
|
00020 <span class="comment"> */</span>
|
|
00021
|
|
00022 <span class="preprocessor">#ifndef _DYNAMICCONTEXT_HPP</span>
|
|
00023 <span class="preprocessor"></span><span class="preprocessor">#define _DYNAMICCONTEXT_HPP</span>
|
|
00024 <span class="preprocessor"></span>
|
|
00025 <span class="preprocessor">#include <<a class="code" href="StaticContext_8hpp.html">xqilla/context/StaticContext.hpp</a>></span>
|
|
00026 <span class="preprocessor">#include <<a class="code" href="ATDurationOrDerived_8hpp.html">xqilla/items/ATDurationOrDerived.hpp</a>></span>
|
|
00027
|
|
00028 <span class="keyword">class </span><a class="code" href="classSequence.html">Sequence</a>;
|
|
00029 <span class="keyword">class </span><a class="code" href="classItem.html">Item</a>;
|
|
00030 <span class="keyword">class </span><a class="code" href="classURIResolver.html">URIResolver</a>;
|
|
00031 <span class="keyword">class </span><a class="code" href="classVariableStore.html">VariableStore</a>;
|
|
00032 <span class="keyword">class </span><a class="code" href="classSequenceBuilder.html">SequenceBuilder</a>;
|
|
00033 <span class="keyword">class </span><a class="code" href="classUpdateFactory.html">UpdateFactory</a>;
|
|
00034 <span class="keyword">class </span><a class="code" href="classRegexGroupStore.html">RegexGroupStore</a>;
|
|
00035 <span class="keyword">class </span><a class="code" href="classDebugListener.html">DebugListener</a>;
|
|
00036 <span class="keyword">class </span><a class="code" href="classStackFrame.html">StackFrame</a>;
|
|
00037
|
|
<a name="l00039"></a><a class="code" href="classDynamicContext.html">00039</a> <span class="keyword">class </span>XQILLA_API DynamicContext : <span class="keyword">public</span> <a class="code" href="classStaticContext.html">StaticContext</a>
|
|
00040 {
|
|
00041 <span class="keyword">public</span>:
|
|
<a name="l00042"></a><a class="code" href="classDynamicContext.html#a0">00042</a> <span class="keyword">virtual</span> ~DynamicContext() {};
|
|
00043
|
|
00044 <span class="keyword">virtual</span> DynamicContext *createModuleDynamicContext(<span class="keyword">const</span> DynamicContext* moduleCtx, XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
|
|
00045 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) <span class="keyword">const </span>= 0;
|
|
00046
|
|
00048 <span class="keyword">virtual</span> <span class="keywordtype">void</span> clearDynamicContext() = 0;
|
|
00049
|
|
00051 <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Item::Ptr</a> getContextItem() <span class="keyword">const </span>= 0;
|
|
00053 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setContextItem(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Item::Ptr</a> &item) = 0;
|
|
00054
|
|
00056 <span class="keyword">virtual</span> size_t getContextPosition() <span class="keyword">const </span>= 0;
|
|
00058 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setContextPosition(size_t pos) = 0;
|
|
00059
|
|
00061 <span class="keyword">virtual</span> size_t getContextSize() <span class="keyword">const </span>= 0;
|
|
00063 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setContextSize(size_t size) = 0;
|
|
00064
|
|
00066 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classVariableStore.html">VariableStore</a>* getVariableStore() <span class="keyword">const </span>= 0;
|
|
00068 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setVariableStore(<span class="keyword">const</span> <a class="code" href="classVariableStore.html">VariableStore</a> *store) = 0;
|
|
00070 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classVariableStore.html">VariableStore</a>* getGlobalVariableStore() <span class="keyword">const </span>= 0;
|
|
00072 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setGlobalVariableStore(<span class="keyword">const</span> <a class="code" href="classVariableStore.html">VariableStore</a> *store) = 0;
|
|
00074 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setExternalVariable(<span class="keyword">const</span> XMLCh *namespaceURI, <span class="keyword">const</span> XMLCh *name, <span class="keyword">const</span> <a class="code" href="classSequence.html">Sequence</a> &value) = 0;
|
|
00076 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setExternalVariable(<span class="keyword">const</span> XMLCh *qname, <span class="keyword">const</span> <a class="code" href="classSequence.html">Sequence</a> &value) = 0;
|
|
00077
|
|
00079 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classRegexGroupStore.html">RegexGroupStore</a>* getRegexGroupStore() <span class="keyword">const </span>= 0;
|
|
00081 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRegexGroupStore(<span class="keyword">const</span> <a class="code" href="classRegexGroupStore.html">RegexGroupStore</a> *store) = 0;
|
|
00082
|
|
00084 <span class="keyword">virtual</span> time_t getCurrentTime() <span class="keyword">const </span>= 0;
|
|
00086 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCurrentTime(time_t newTime) = 0;
|
|
00087
|
|
00089 <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> getImplicitTimezone() <span class="keyword">const </span>= 0;
|
|
00091 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setImplicitTimezone(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &timezoneAsDuration) = 0;
|
|
00092
|
|
00094 <span class="comment">// XQilla context specific accessors //</span>
|
|
00096 <span class="comment"></span>
|
|
00109 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerURIResolver(<a class="code" href="classURIResolver.html">URIResolver</a> *resolver, <span class="keywordtype">bool</span> adopt) = 0;
|
|
00111 <span class="keyword">virtual</span> <a class="code" href="classURIResolver.html">URIResolver</a> *getDefaultURIResolver() <span class="keyword">const </span>= 0;
|
|
00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDefaultURIResolver(<a class="code" href="classURIResolver.html">URIResolver</a> *resolver, <span class="keywordtype">bool</span> adopt) = 0;
|
|
00114
|
|
00116 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDebugListener(<a class="code" href="classDebugListener.html">DebugListener</a> *listener) = 0;
|
|
00118 <span class="keyword">virtual</span> <a class="code" href="classDebugListener.html">DebugListener</a> *getDebugListener() <span class="keyword">const </span>= 0;
|
|
00119
|
|
00121 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setStackFrame(<span class="keyword">const</span> <a class="code" href="classStackFrame.html">StackFrame</a> *frame) = 0;
|
|
00123 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classStackFrame.html">StackFrame</a> *getStackFrame() <span class="keyword">const </span>= 0;
|
|
00124
|
|
00126 <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Node::Ptr</a> parseDocument(XERCES_CPP_NAMESPACE_QUALIFIER InputSource &srcToUse,
|
|
00127 <span class="keyword">const</span> <a class="code" href="classLocationInfo.html">LocationInfo</a> *location = 0, <span class="keyword">const</span> QueryPathNode *projection = 0) = 0;
|
|
00130 <span class="keyword">virtual</span> <a class="code" href="classSequence.html">Sequence</a> resolveDocument(<span class="keyword">const</span> XMLCh* uri, <span class="keyword">const</span> <a class="code" href="classLocationInfo.html">LocationInfo</a> *location = 0,
|
|
00131 <span class="keyword">const</span> QueryPathNode *projection = 0) = 0;
|
|
00134 <span class="keyword">virtual</span> <a class="code" href="classSequence.html">Sequence</a> resolveCollection(<span class="keyword">const</span> XMLCh* uri, <span class="keyword">const</span> <a class="code" href="classLocationInfo.html">LocationInfo</a> *location = 0,
|
|
00135 <span class="keyword">const</span> QueryPathNode *projection = 0) = 0;
|
|
00137 <span class="keyword">virtual</span> <a class="code" href="classSequence.html">Sequence</a> resolveDefaultCollection(<span class="keyword">const</span> QueryPathNode *projection = 0) = 0;
|
|
00138
|
|
00141 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> putDocument(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Node::Ptr</a> &document, <span class="keyword">const</span> XMLCh *uri) = 0;
|
|
00142
|
|
00145 <span class="keyword">virtual</span> <a class="code" href="classSequenceBuilder.html">SequenceBuilder</a> *createSequenceBuilder() <span class="keyword">const </span>= 0;
|
|
00146
|
|
00149 <span class="keyword">virtual</span> <a class="code" href="classUpdateFactory.html">UpdateFactory</a> *createUpdateFactory() <span class="keyword">const </span>= 0;
|
|
00150
|
|
00152 <span class="keyword">virtual</span> <span class="keywordtype">void</span> testInterrupt() <span class="keyword">const </span>= 0;
|
|
00153 };
|
|
00154
|
|
00155 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:26 2009 for XQilla Simple API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|