149 lines
12 KiB
HTML
149 lines
12 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: URLInputSource.hpp Source File</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.4.6 -->
|
|
<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>URLInputSource.hpp</h1><a href="URLInputSource_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 1999-2000,2004 The Apache Software Foundation.</span>
|
|
<a name="l00003"></a>00003 <span class="comment"> * </span>
|
|
<a name="l00004"></a>00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
|
|
<a name="l00005"></a>00005 <span class="comment"> * you may not use this file except in compliance with the License.</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> * You may obtain a copy of the License at</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> * </span>
|
|
<a name="l00008"></a>00008 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
<a name="l00009"></a>00009 <span class="comment"> * </span>
|
|
<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> */</span>
|
|
<a name="l00016"></a>00016
|
|
<a name="l00017"></a>00017 <span class="comment">/*</span>
|
|
<a name="l00018"></a>00018 <span class="comment"> * $Id: URLInputSource.hpp 191054 2005-06-17 02:56:35Z jberry $</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> */</span>
|
|
<a name="l00020"></a>00020
|
|
<a name="l00021"></a>00021
|
|
<a name="l00022"></a>00022
|
|
<a name="l00023"></a>00023 <span class="preprocessor">#if !defined(URLINPUTSOURCE_HPP)</span>
|
|
<a name="l00024"></a><a class="code" href="URLInputSource_8hpp.html#0a5e1f8a841fea13975e8a431fb49748">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define URLINPUTSOURCE_HPP</span>
|
|
<a name="l00025"></a>00025 <span class="preprocessor"></span>
|
|
<a name="l00026"></a>00026 <span class="preprocessor">#include <xercesc/util/XMLURL.hpp></span>
|
|
<a name="l00027"></a>00027 <span class="preprocessor">#include <<a class="code" href="InputSource_8hpp.html">xercesc/sax/InputSource.hpp</a>></span>
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029 XERCES_CPP_NAMESPACE_BEGIN
|
|
<a name="l00030"></a>00030
|
|
<a name="l00031"></a>00031 <span class="keyword">class </span>BinInputStream;
|
|
<a name="l00032"></a>00032
|
|
<a name="l00048"></a><a class="code" href="classxercesc_1_1URLInputSource.html">00048</a> <span class="keyword">class </span>XMLPARSER_EXPORT <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a> : <span class="keyword">public</span> <a class="code" href="classxercesc_1_1InputSource.html">InputSource</a>
|
|
<a name="l00049"></a>00049 {
|
|
<a name="l00050"></a>00050 <span class="keyword">public</span> :
|
|
<a name="l00051"></a>00051 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00052"></a>00052 <span class="comment">// Constructors and Destructor</span>
|
|
<a name="l00053"></a>00053 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00054"></a>00054
|
|
<a name="l00057"></a>00057
|
|
<a name="l00069"></a>00069 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00070"></a>00070 (
|
|
<a name="l00071"></a>00071 <span class="keyword">const</span> XMLURL& urlId
|
|
<a name="l00072"></a>00072 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00073"></a>00073 );
|
|
<a name="l00074"></a>00074
|
|
<a name="l00075"></a>00075
|
|
<a name="l00090"></a>00090 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00091"></a>00091 (
|
|
<a name="l00092"></a>00092 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00093"></a>00093 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
|
|
<a name="l00094"></a>00094 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00095"></a>00095 );
|
|
<a name="l00096"></a>00096
|
|
<a name="l00113"></a>00113 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00114"></a>00114 (
|
|
<a name="l00115"></a>00115 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00116"></a>00116 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
|
|
<a name="l00117"></a>00117 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
|
|
<a name="l00118"></a>00118 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00119"></a>00119 );
|
|
<a name="l00120"></a>00120
|
|
<a name="l00121"></a>00121
|
|
<a name="l00136"></a>00136 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00137"></a>00137 (
|
|
<a name="l00138"></a>00138 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00139"></a>00139 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
|
|
<a name="l00140"></a>00140 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00141"></a>00141 );
|
|
<a name="l00142"></a>00142
|
|
<a name="l00161"></a>00161 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00162"></a>00162 (
|
|
<a name="l00163"></a>00163 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00164"></a>00164 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
|
|
<a name="l00165"></a>00165 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> publicId
|
|
<a name="l00166"></a>00166 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00167"></a>00167 );
|
|
<a name="l00168"></a>00168
|
|
<a name="l00170"></a>00170
|
|
<a name="l00173"></a>00173 ~<a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>();
|
|
<a name="l00175"></a>00175
|
|
<a name="l00176"></a>00176
|
|
<a name="l00177"></a>00177 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00178"></a>00178 <span class="comment">// Virtual input source interface</span>
|
|
<a name="l00179"></a>00179 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00180"></a>00180
|
|
<a name="l00183"></a>00183
|
|
<a name="l00188"></a>00188 BinInputStream* <a class="code" href="classxercesc_1_1InputSource.html#9d3101df0ae8a72045f81a7028bc36d8">makeStream</a>() <span class="keyword">const</span>;
|
|
<a name="l00189"></a>00189
|
|
<a name="l00191"></a>00191
|
|
<a name="l00192"></a>00192
|
|
<a name="l00193"></a>00193 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00194"></a>00194 <span class="comment">// Getter methods</span>
|
|
<a name="l00195"></a>00195 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00196"></a>00196
|
|
<a name="l00199"></a>00199
|
|
<a name="l00208"></a>00208 <span class="keyword">const</span> XMLURL& urlSrc() <span class="keyword">const</span>;
|
|
<a name="l00209"></a>00209
|
|
<a name="l00211"></a>00211
|
|
<a name="l00212"></a>00212
|
|
<a name="l00213"></a>00213 <span class="keyword">private</span> :
|
|
<a name="l00214"></a>00214 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00215"></a>00215 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00216"></a>00216 <span class="comment">// ----------------------------------------------------------------------- </span>
|
|
<a name="l00217"></a>00217 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>&);
|
|
<a name="l00218"></a>00218 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>& operator=(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>&);
|
|
<a name="l00219"></a>00219
|
|
<a name="l00220"></a>00220 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00221"></a>00221 <span class="comment">// Private data members</span>
|
|
<a name="l00222"></a>00222 <span class="comment">//</span>
|
|
<a name="l00223"></a>00223 <span class="comment">// fURL</span>
|
|
<a name="l00224"></a>00224 <span class="comment">// This is the URL created from the passed ids.</span>
|
|
<a name="l00225"></a>00225 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00226"></a>00226 XMLURL fURL;
|
|
<a name="l00227"></a>00227 };
|
|
<a name="l00228"></a>00228
|
|
<a name="l00229"></a>00229
|
|
<a name="l00230"></a><a class="code" href="classxercesc_1_1URLInputSource.html#01b92e9b0487e99dc40dcf21cb77c617">00230</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLURL& URLInputSource::urlSrc()<span class="keyword"> const</span>
|
|
<a name="l00231"></a>00231 <span class="keyword"></span>{
|
|
<a name="l00232"></a>00232 <span class="keywordflow">return</span> fURL;
|
|
<a name="l00233"></a>00233 }
|
|
<a name="l00234"></a>00234
|
|
<a name="l00235"></a>00235 XERCES_CPP_NAMESPACE_END
|
|
<a name="l00236"></a>00236
|
|
<a name="l00237"></a>00237 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:18:56 2006 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.4.6 </small></address>
|
|
</body>
|
|
</html>
|