2020-02-17 21:05:20 +00:00
<!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: StaticContext.hpp Source File< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2020-02-17 21:10:06 +00:00
<!-- Generated by Doxygen 1.5.1 -->
2020-02-17 21:05:20 +00:00
< div class = "tabs" >
< ul >
< li > < a href = "index.html" > < span > Main Page< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li > < a href = "classes.html" > < span > Classes< / span > < / a > < / li >
< li id = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul > < / div >
< div class = "tabs" >
< ul >
< li > < a href = "files.html" > < span > File List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File 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-2006< / 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-2006< / span >
< a name = "l00005" > < / a > 00005 < span class = "comment" > * Progress Software Corporation. All rights reserved.< / span >
< a name = "l00006" > < / a > 00006 < span class = "comment" > * Copyright (c) 2004-2006< / span >
< a name = "l00007" > < / a > 00007 < span class = "comment" > * Oracle. All rights reserved.< / span >
< a name = "l00008" > < / a > 00008 < span class = "comment" > *< / span >
< a name = "l00009" > < / a > 00009 < span class = "comment" > * See the file LICENSE for redistribution information.< / span >
< a name = "l00010" > < / a > 00010 < span class = "comment" > *< / span >
< a name = "l00011" > < / a > 00011 < span class = "comment" > * $Id: StaticContext.hpp,v 1.16 2006/11/01 16:37:12 jpcs Exp $< / span >
< a name = "l00012" > < / a > 00012 < span class = "comment" > */< / span >
< a name = "l00013" > < / a > 00013
< a name = "l00014" > < / a > 00014 < span class = "preprocessor" > #ifndef _STATICCONTEXT_HPP< / span >
< a name = "l00015" > < / a > 00015 < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define _STATICCONTEXT_HPP< / span >
< a name = "l00016" > < / a > 00016 < span class = "preprocessor" > < / span >
< a name = "l00017" > < / a > 00017 < span class = "preprocessor" > #include < xqilla/framework/XQillaExport.hpp> < / span >
< a name = "l00018" > < / a > 00018 < span class = "preprocessor" > #include < time.h> < / span >
< a name = "l00019" > < / a > 00019 < span class = "preprocessor" > #include < xqilla/schema/DocumentCache.hpp> < / span >
< a name = "l00020" > < / a > 00020 < span class = "preprocessor" > #include < < a class = "code" href = "PlatformUtils_8hpp.html" > xercesc/util/PlatformUtils.hpp< / a > > < / span >
< a name = "l00021" > < / a > 00021 < span class = "preprocessor" > #include < < a class = "code" href = "XMemory_8hpp.html" > xercesc/util/XMemory.hpp< / a > > < / span >
< a name = "l00022" > < / a > 00022
< a name = "l00023" > < / a > 00023 < span class = "comment" > // Copied from ASTNode.hpp< / span >
< a name = "l00024" > < / a > < a class = "code" href = "StaticContext_8hpp.html#945a726d9c06a9f5a66be9834475e658" > 00024< / a > < span class = "keyword" > typedef< / span > std::vector< ASTNode*,XQillaAllocator< ASTNode*> > < a class = "code" href = "StaticContext_8hpp.html#945a726d9c06a9f5a66be9834475e658" > VectorOfASTNodes< / a > ;
< a name = "l00025" > < / a > 00025
< a name = "l00026" > < / a > 00026 < span class = "keyword" > class < / span > < a class = "code" href = "classDynamicContext.html" > DynamicContext< / a > ;
< a name = "l00027" > < / a > 00027 < span class = "keyword" > class < / span > < a class = "code" href = "classXPath2MemoryManager.html" > XPath2MemoryManager< / a > ;
< a name = "l00028" > < / a > 00028 < span class = "keyword" > class < / span > FuncFactory;
< a name = "l00029" > < / a > 00029 < span class = "keyword" > class < / span > DatatypeFactory;
< a name = "l00030" > < / a > 00030 < span class = "keyword" > class < / span > < a class = "code" href = "classCollation.html" > Collation< / a > ;
< a name = "l00031" > < / a > 00031 < span class = "keyword" > class < / span > < a class = "code" href = "classVariableTypeStore.html" > VariableTypeStore< / a > ;
< a name = "l00032" > < / a > 00032 < span class = "keyword" > class < / span > < a class = "code" href = "classItemFactory.html" > ItemFactory< / a > ;
< a name = "l00033" > < / a > 00033 < span class = "keyword" > class < / span > StaticType;
< a name = "l00034" > < / a > 00034 < span class = "keyword" > class < / span > < a class = "code" href = "classModuleResolver.html" > ModuleResolver< / a > ;
< a name = "l00035" > < / a > 00035
< a name = "l00036" > < / a > 00036 XERCES_CPP_NAMESPACE_BEGIN
< a name = "l00037" > < / a > 00037 < span class = "keyword" > class < / span > DOMDocument;
< a name = "l00038" > < / a > 00038 < span class = "keyword" > class < / span > DOMXPathNSResolver;
< a name = "l00039" > < / a > 00039 < span class = "keyword" > class < / span > XMLEntityResolver;
< a name = "l00040" > < / a > 00040 XERCES_CPP_NAMESPACE_END
< a name = "l00041" > < / a > 00041
< a name = "l00043" > < / a > < a class = "code" href = "classStaticContext.html" > 00043< / a > < span class = "keyword" > class < / span > XQILLA_API < a class = "code" href = "classStaticContext.html" > StaticContext< / a > : < span class = "keyword" > public< / span > XERCES_CPP_NAMESPACE_QUALIFIER XMemory
< a name = "l00044" > < / a > 00044 {
< a name = "l00045" > < / a > 00045 < span class = "keyword" > public< / span > :
< a name = "l00046" > < / a > < a class = "code" href = "classStaticContext.html#b8bafb380375462baaed1f97db7314cd" > 00046< / a > < span class = "keyword" > typedef< / span > < span class = "keyword" > enum< / span > {
< a name = "l00047" > < / a > 00047 ORDERING_ORDERED,
< a name = "l00048" > < / a > 00048 ORDERING_UNORDERED
< a name = "l00049" > < / a > 00049 } NodeSetOrdering;
< a name = "l00050" > < / a > 00050
< a name = "l00051" > < / a > < a class = "code" href = "classStaticContext.html#afd3dd12453e8237c20895f80a9360a1" > 00051< / a > < span class = "keyword" > typedef< / span > < span class = "keyword" > enum< / span > {
< a name = "l00052" > < / a > 00052 CONSTRUCTION_MODE_PRESERVE,
< a name = "l00053" > < / a > 00053 CONSTRUCTION_MODE_STRIP
< a name = "l00054" > < / a > 00054 } ConstructionMode;
< a name = "l00055" > < / a > 00055
< a name = "l00056" > < / a > < a class = "code" href = "classStaticContext.html#e2f0da091c646c1fce65483226d9c6ac" > 00056< / a > < span class = "keyword" > typedef< / span > < span class = "keyword" > enum< / span > {
< a name = "l00057" > < / a > 00057 FLWOR_ORDER_EMPTY_GREATEST,
< a name = "l00058" > < / a > 00058 FLWOR_ORDER_EMPTY_LEAST
< a name = "l00059" > < / a > 00059 } FLWOROrderingMode;
< a name = "l00060" > < / a > 00060
< a name = "l00061" > < / a > < a class = "code" href = "classStaticContext.html#ab10e680c7e45b1f1c15af9954fff65a" > 00061< / a > < span class = "keyword" > virtual< / span > ~< a class = "code" href = "classStaticContext.html" > StaticContext< / a > () {};
< a name = "l00062" > < / a > 00062
< a name = "l00063" > < / a > 00063 < span class = "keyword" > virtual< / span > < a class = "code" href = "classDynamicContext.html" > DynamicContext< / a > *createModuleContext(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
< a name = "l00064" > < / a > 00064 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) < span class = "keyword" > const < / span > = 0;
< a name = "l00065" > < / a > 00065 < span class = "keyword" > virtual< / span > < a class = "code" href = "classDynamicContext.html" > DynamicContext< / a > *createDynamicContext(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
< a name = "l00066" > < / a > 00066 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) < span class = "keyword" > const < / span > = 0;
< a name = "l00067" > < / a > 00067
< a name = "l00069" > < / a > 00069 < span class = "keyword" > virtual< / span > < a class = "code" href = "classItemFactory.html" > ItemFactory< / a > *getItemFactory() < span class = "keyword" > const < / span > = 0;
< a name = "l00071" > < / a > 00071 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setItemFactory(< a class = "code" href = "classItemFactory.html" > ItemFactory< / a > *factory) = 0;
< a name = "l00072" > < / a > 00072
< a name = "l00074" > < / a > 00074 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > StaticType & getContextItemType() < span class = "keyword" > const < / span > = 0;
< a name = "l00076" > < / a > 00076 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setContextItemType(< span class = "keyword" > const< / span > StaticType & st) = 0;
< a name = "l00077" > < / a > 00077
< a name = "l00079" > < / a > 00079 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > getXPath1CompatibilityMode() < span class = "keyword" > const < / span > = 0;
< a name = "l00081" > < / a > 00081 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setXPath1CompatibilityMode(< span class = "keywordtype" > bool< / span > newMode) = 0;
< a name = "l00082" > < / a > 00082
< a name = "l00084" > < / a > 00084 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* getNSResolver() < span class = "keyword" > const < / span > = 0;
< a name = "l00087" > < / a > 00087 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XMLCh* getUriBoundToPrefix(< span class = "keyword" > const< / span > XMLCh* prefix, < span class = "keyword" > const< / span > LocationInfo *location) < span class = "keyword" > const < / span > = 0;
< a name = "l00090" > < / a > 00090 < 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 = "l00092" > < / a > 00092 < 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 = "l00094" > < / a > 00094 < 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 = "l00095" > < / a > 00095
< a name = "l00097" > < / a > 00097 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XMLCh* getDefaultElementAndTypeNS() < span class = "keyword" > const < / span > = 0;
< a name = "l00099" > < / a > 00099 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setDefaultElementAndTypeNS(< span class = "keyword" > const< / span > XMLCh* newNS) = 0;
< a name = "l00100" > < / a > 00100
< a name = "l00102" > < / a > 00102 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XMLCh* getDefaultFuncNS() < span class = "keyword" > const < / span > = 0;
< a name = "l00104" > < / a > 00104 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setDefaultFuncNS(< span class = "keyword" > const< / span > XMLCh* newNS) = 0;
< a name = "l00105" > < / a > 00105
< a name = "l00107" > < / a > 00107 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > DocumentCache* getDocumentCache() < span class = "keyword" > const < / span > = 0;
< a name = "l00109" > < / a > 00109 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setDocumentCache(DocumentCache* docCache) = 0;
< a name = "l00110" > < / a > 00110
< a name = "l00119" > < / a > 00119 < 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 = "l00125" > < / a > 00125 < 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 = "l00127" > < / a > 00127 < span class = "keyword" > virtual< / span > XERCES_CPP_NAMESPACE_QUALIFIER XMLEntityResolver* getXMLEntityResolver() < span class = "keyword" > const < / span > = 0;
< a name = "l00128" > < / a > 00128
< a name = "l00130" > < / a > 00130 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setModuleResolver(< a class = "code" href = "classModuleResolver.html" > ModuleResolver< / a > *resolver) = 0;
< a name = "l00132" > < / a > 00132 < span class = "keyword" > virtual< / span > < a class = "code" href = "classModuleResolver.html" > ModuleResolver< / a > *getModuleResolver() < span class = "keyword" > const < / span > = 0;
< a name = "l00133" > < / a > 00133 < span class = "comment" > /* Retrieve a list of locations for the given module URI */< / span >
< a name = "l00134" > < / a > 00134 < span class = "keyword" > virtual< / span > VectorOfStrings* resolveModuleURI(< span class = "keyword" > const< / span > XMLCh* uri) < span class = "keyword" > const < / span > = 0;
< a name = "l00135" > < / a > 00135
< a name = "l00137" > < / a > 00137 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > addSchemaLocation(< span class = "keyword" > const< / span > XMLCh* uri, VectorOfStrings* locations) = 0;
< a name = "l00138" > < / a > 00138
< a name = "l00140" > < / a > 00140 < span class = "keyword" > virtual< / span > < a class = "code" href = "classVariableTypeStore.html" > VariableTypeStore< / a > * getVariableTypeStore() = 0;
< a name = "l00141" > < / a > 00141
< a name = "l00143" > < / a > 00143 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > addCustomFunction(FuncFactory *func) = 0;
< a name = "l00145" > < / a > 00145 < span class = "keyword" > virtual< / span > ASTNode* lookUpFunction(< span class = "keyword" > const< / span > XMLCh* prefix, < span class = "keyword" > const< / span > XMLCh* name, < a class = "code" href = "StaticContext_8hpp.html#945a726d9c06a9f5a66be9834475e658" > VectorOfASTNodes< / a > & v,
< a name = "l00146" > < / a > 00146 < span class = "keyword" > const< / span > LocationInfo *location) < span class = "keyword" > const < / span > = 0;
< a name = "l00147" > < / a > 00147
< a name = "l00149" > < / a > 00149 < 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 > LocationInfo *location) < span class = "keyword" > const < / span > = 0;
< a name = "l00151" > < / a > 00151 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > addCollation(< a class = "code" href = "classCollation.html" > Collation< / a > * collation) = 0;
< a name = "l00152" > < / a > 00152
< a name = "l00154" > < / a > 00154 < span class = "keyword" > virtual< / span > < a class = "code" href = "classCollation.html" > Collation< / a > * getDefaultCollation(< span class = "keyword" > const< / span > LocationInfo *location) < span class = "keyword" > const < / span > = 0;
< a name = "l00156" > < / a > 00156 < 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 = "l00157" > < / a > 00157
< a name = "l00159" > < / a > 00159 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XMLCh* getBaseURI() < span class = "keyword" > const < / span > = 0;
< a name = "l00161" > < / a > 00161 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setBaseURI(< span class = "keyword" > const< / span > XMLCh* newURI) = 0;
< a name = "l00162" > < / a > 00162
< a name = "l00164" > < / a > 00164 < span class = "keyword" > virtual< / span > NodeSetOrdering getNodeSetOrdering() < span class = "keyword" > const < / span > = 0;
< a name = "l00166" > < / a > 00166 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setNodeSetOrdering(NodeSetOrdering newOrder) = 0;
< a name = "l00167" > < / a > 00167
< a name = "l00169" > < / a > 00169 < span class = "keyword" > virtual< / span > ConstructionMode getConstructionMode() < span class = "keyword" > const < / span > = 0;
< a name = "l00171" > < / a > 00171 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setConstructionMode(ConstructionMode newMode) = 0;
< a name = "l00172" > < / a > 00172
< a name = "l00174" > < / a > 00174 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setPreserveBoundarySpace(< span class = "keywordtype" > bool< / span > value) = 0;
< a name = "l00176" > < / a > 00176 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > getPreserveBoundarySpace() < span class = "keyword" > const < / span > = 0;
< a name = "l00177" > < / a > 00177
< a name = "l00179" > < / a > 00179 < span class = "keyword" > virtual< / span > FLWOROrderingMode getDefaultFLWOROrderingMode() < span class = "keyword" > const < / span > = 0;
< a name = "l00181" > < / a > 00181 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setDefaultFLWOROrderingMode(FLWOROrderingMode newMode) = 0;
< a name = "l00182" > < / a > 00182
< a name = "l00184" > < / a > 00184 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setInheritNamespaces(< span class = "keywordtype" > bool< / span > value) = 0;
< a name = "l00186" > < / a > 00186 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > getInheritNamespaces() < 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 > setPreserveNamespaces(< span class = "keywordtype" > bool< / span > value) = 0;
< a name = "l00191" > < / a > 00191 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > getPreserveNamespaces() < span class = "keyword" > const < / span > = 0;
< a name = "l00192" > < / a > 00192
< a name = "l00194" > < / a > 00194 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > enableDebugging(< span class = "keywordtype" > bool< / span > enable=< span class = "keyword" > true< / span > ) = 0;
< a name = "l00196" > < / a > 00196 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > isDebuggingEnabled() < span class = "keyword" > const < / span > = 0;
< a name = "l00197" > < / a > 00197
< a name = "l00199" > < / a > 00199 < span class = "comment" > // XQilla context specific accessors //< / span >
< a name = "l00201" > < / a > 00201 < span class = "comment" > < / span >
< a name = "l00203" > < / a > 00203 < span class = "keyword" > virtual< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *createNewDocument() < span class = "keyword" > const < / span > = 0;
< a name = "l00205" > < / a > 00205 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > releaseDocument(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc) < span class = "keyword" > const < / span > = 0;
< a name = "l00206" > < / a > 00206
< a name = "l00208" > < / a > 00208 < span class = "keyword" > virtual< / span > < a class = "code" href = "classXPath2MemoryManager.html" > XPath2MemoryManager< / a > * getMemoryManager() < span class = "keyword" > const < / span > = 0;
< a name = "l00210" > < / a > 00210 < span class = "keyword" > virtual< / span > < span class = "keywordtype" > void< / span > setMemoryManager(< a class = "code" href = "classXPath2MemoryManager.html" > XPath2MemoryManager< / a > * memMgr) = 0;
< a name = "l00211" > < / a > 00211 };
< a name = "l00212" > < / a > 00212
< a name = "l00213" > < / a > 00213 < span class = "preprocessor" > #endif< / span >
2020-02-17 21:10:06 +00:00
< / pre > < / div > < hr size = "1" > < address style = "align: right;" > < small > Generated on Wed Dec 12 19:13:50 2007 for XQilla Simple API by
2020-02-17 21:05:20 +00:00
< a href = "http://www.doxygen.org/index.html" >
2020-02-17 21:10:06 +00:00
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = "0" > < / a > 1.5.1 < / small > < / address >
2020-02-17 21:05:20 +00:00
< / body >
< / html >