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: XQScopedNamespace.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 > XQScopedNamespace.hpp< / h1 > < a href = "XQScopedNamespace_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: XQScopedNamespace.hpp,v 1.6 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 = "l00015" > < / a > 00015 < span class = "comment" > // XQScopedNamespace.hpp: interface for the XQScopedNamespace class.< / span >
< a name = "l00017" > < / a > 00017 < span class = "comment" > < / span >
< a name = "l00018" > < / a > 00018 < span class = "preprocessor" > #if !defined(AFXQ_XQSCOPEDNAMESPACE_H__D6A320F5_21F1_421D_9E46_E4373B375E1A__INCLUDED_)< / span >
< a name = "l00019" > < / a > < a class = "code" href = "XQScopedNamespace_8hpp.html#c915b45c80f1f35af111138f21fc875f" > 00019< / a > < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define AFXQ_XQSCOPEDNAMESPACE_H__D6A320F5_21F1_421D_9E46_E4373B375E1A__INCLUDED_< / span >
< a name = "l00020" > < / a > 00020 < span class = "preprocessor" > < / span >
< a name = "l00021" > < / a > 00021 < span class = "preprocessor" > #include < xqilla/framework/XQillaExport.hpp> < / span >
< a name = "l00022" > < / a > 00022 < span class = "preprocessor" > #include < xqilla/dom-api/impl/XQillaNSResolverImpl.hpp> < / span >
< a name = "l00023" > < / a > 00023 < span class = "preprocessor" > #include < < a class = "code" href = "StaticContext_8hpp.html" > xqilla/context/StaticContext.hpp< / a > > < / span >
< a name = "l00024" > < / a > 00024
< a name = "l00025" > < / a > 00025 XERCES_CPP_NAMESPACE_BEGIN
< a name = "l00026" > < / a > 00026 < span class = "keyword" > class < / span > DOMXPathNSResolver;
< a name = "l00027" > < / a > 00027 < span class = "keyword" > class < / span > DOMNode;
< a name = "l00028" > < / a > 00028 XERCES_CPP_NAMESPACE_END
< a name = "l00029" > < / a > 00029
< a name = "l00030" > < / a > < a class = "code" href = "classXQScopedNamespace.html" > 00030< / a > < span class = "keyword" > class < / span > XQILLA_API < a class = "code" href = "classXQScopedNamespace.html" > XQScopedNamespace< / a > : < span class = "keyword" > public< / span > XQillaNSResolverImpl
< a name = "l00031" > < / a > 00031 {
< a name = "l00032" > < / a > 00032 < span class = "keyword" > public< / span > :
< a name = "l00033" > < / a > 00033 < a class = "code" href = "classXQScopedNamespace.html" > XQScopedNamespace< / a > (< a class = "code" href = "classXPath2MemoryManager.html" > XPath2MemoryManager< / a > * memMgr, < span class = "keyword" > const< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* prevScope);
< a name = "l00034" > < / a > 00034 < span class = "keyword" > virtual< / span > ~< a class = "code" href = "classXQScopedNamespace.html" > XQScopedNamespace< / a > ();
< a name = "l00035" > < / a > 00035
< a name = "l00036" > < / a > 00036 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XMLCh* lookupNamespaceURI(< span class = "keyword" > const< / span > XMLCh* prefix) < span class = "keyword" > const< / span > ;
< a name = "l00037" > < / a > 00037 < span class = "keyword" > virtual< / span > < span class = "keyword" > const< / span > XMLCh* lookupPrefix(< span class = "keyword" > const< / span > XMLCh* uri) < span class = "keyword" > const< / span > ;
< a name = "l00038" > < / a > 00038
< a name = "l00039" > < / a > 00039 < span class = "keywordtype" > void< / span > setNodeContext(< span class = "keyword" > const< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* node);
< a name = "l00040" > < / a > 00040 < span class = "keyword" > protected< / span > :
< a name = "l00041" > < / a > < a class = "code" href = "classXQScopedNamespace.html#797b1df1df5d6e35c5015d68ad3c9367" > 00041< / a > < span class = "keyword" > const< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* _prevScope;
< a name = "l00042" > < / a > < a class = "code" href = "classXQScopedNamespace.html#0113937afd7fe78b5be36ffa7ec868f1" > 00042< / a > < span class = "keyword" > const< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* _ctxNode;
< a name = "l00043" > < / a > 00043 };
< a name = "l00044" > < / a > 00044
< a name = "l00045" > < / a > < a class = "code" href = "classAutoNsScopeReset.html" > 00045< / a > < span class = "keyword" > class < / span > XQILLA_API AutoNsScopeReset
< a name = "l00046" > < / a > 00046 {
< a name = "l00047" > < / a > 00047 < span class = "keyword" > public< / span > :
< a name = "l00048" > < / a > < a class = "code" href = "classAutoNsScopeReset.html#0b459d9b331589eaa0068e0fe1426cd2" > 00048< / a > AutoNsScopeReset(< a class = "code" href = "classStaticContext.html" > StaticContext< / a > * context, XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* newResolver)
< a name = "l00049" > < / a > 00049 {
< a name = "l00050" > < / a > 00050 _context=context;
2020-02-17 21:10:06 +00:00
< a name = "l00051" > < / a > 00051 _oldNSResolver=_context-> < a class = "code" href = "classStaticContext.html#84f5db272b59da8096db220d15ae4dd4" > getNSResolver< / a > ();
< a name = "l00052" > < / a > 00052 _defaultElementAndTypeNS=context-> < a class = "code" href = "classStaticContext.html#ab185f84bf729f653f60027547c671d8" > getDefaultElementAndTypeNS< / a > ();
2020-02-17 21:05:20 +00:00
< a name = "l00053" > < / a > 00053 _context-> setNSResolver(newResolver);
< a name = "l00054" > < / a > 00054 }
< a name = "l00055" > < / a > 00055
< a name = "l00056" > < / a > < a class = "code" href = "classAutoNsScopeReset.html#230b8010acb9f3278e3f1232882de073" > 00056< / a > ~AutoNsScopeReset()
< a name = "l00057" > < / a > 00057 {
< a name = "l00058" > < / a > 00058 _context-> setNSResolver(_oldNSResolver);
< a name = "l00059" > < / a > 00059 _context-> setDefaultElementAndTypeNS(_defaultElementAndTypeNS);
< a name = "l00060" > < / a > 00060 }
< a name = "l00061" > < / a > 00061
< a name = "l00062" > < / a > 00062 < span class = "keyword" > protected< / span > :
< a name = "l00063" > < / a > < a class = "code" href = "classAutoNsScopeReset.html#39b94f902fd874049c915d88a73a6f18" > 00063< / a > < a class = "code" href = "classStaticContext.html" > StaticContext< / a > * _context;
< a name = "l00064" > < / a > < a class = "code" href = "classAutoNsScopeReset.html#75e7d1df70701cccc9d35b46d4155865" > 00064< / a > < span class = "keyword" > const< / span > XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver* _oldNSResolver;
< a name = "l00065" > < / a > < a class = "code" href = "classAutoNsScopeReset.html#45fc3c96ca3566119940aebb0228d56f" > 00065< / a > < span class = "keyword" > const< / span > XMLCh *_defaultElementAndTypeNS;
< a name = "l00066" > < / a > 00066
< a name = "l00067" > < / a > 00067 };
< a name = "l00068" > < / a > 00068
< a name = "l00069" > < / a > 00069 < span class = "preprocessor" > #endif // !defined(AFXQ_XQSCOPEDNAMESPACE_H__D6A320F5_21F1_421D_9E46_E4373B375E1A__INCLUDED_)< / 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 >