151 lines
12 KiB
HTML
151 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 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.5.1 -->
|
|
<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"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> * </span>
|
|
<a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
<a name="l00010"></a>00010 <span class="comment"> * </span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
|
|
<a name="l00016"></a>00016 <span class="comment"> */</span>
|
|
<a name="l00017"></a>00017
|
|
<a name="l00018"></a>00018 <span class="comment">/*</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> * $Id: URLInputSource.hpp 568078 2007-08-21 11:43:25Z amassari $</span>
|
|
<a name="l00020"></a>00020 <span class="comment"> */</span>
|
|
<a name="l00021"></a>00021
|
|
<a name="l00022"></a>00022
|
|
<a name="l00023"></a>00023
|
|
<a name="l00024"></a>00024 <span class="preprocessor">#if !defined(URLINPUTSOURCE_HPP)</span>
|
|
<a name="l00025"></a><a class="code" href="URLInputSource_8hpp.html#0a5e1f8a841fea13975e8a431fb49748">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define URLINPUTSOURCE_HPP</span>
|
|
<a name="l00026"></a>00026 <span class="preprocessor"></span>
|
|
<a name="l00027"></a>00027 <span class="preprocessor">#include <xercesc/util/XMLURL.hpp></span>
|
|
<a name="l00028"></a>00028 <span class="preprocessor">#include <<a class="code" href="InputSource_8hpp.html">xercesc/sax/InputSource.hpp</a>></span>
|
|
<a name="l00029"></a>00029
|
|
<a name="l00030"></a>00030 XERCES_CPP_NAMESPACE_BEGIN
|
|
<a name="l00031"></a>00031
|
|
<a name="l00032"></a>00032 <span class="keyword">class </span>BinInputStream;
|
|
<a name="l00033"></a>00033
|
|
<a name="l00049"></a><a class="code" href="classxercesc_1_1URLInputSource.html">00049</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="l00050"></a>00050 {
|
|
<a name="l00051"></a>00051 <span class="keyword">public</span> :
|
|
<a name="l00052"></a>00052 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00053"></a>00053 <span class="comment">// Constructors and Destructor</span>
|
|
<a name="l00054"></a>00054 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00055"></a>00055
|
|
<a name="l00058"></a>00058
|
|
<a name="l00070"></a>00070 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00071"></a>00071 (
|
|
<a name="l00072"></a>00072 <span class="keyword">const</span> XMLURL& urlId
|
|
<a name="l00073"></a>00073 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00074"></a>00074 );
|
|
<a name="l00075"></a>00075
|
|
<a name="l00076"></a>00076
|
|
<a name="l00091"></a>00091 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00092"></a>00092 (
|
|
<a name="l00093"></a>00093 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00094"></a>00094 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
|
|
<a name="l00095"></a>00095 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00096"></a>00096 );
|
|
<a name="l00097"></a>00097
|
|
<a name="l00114"></a>00114 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00115"></a>00115 (
|
|
<a name="l00116"></a>00116 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00117"></a>00117 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
|
|
<a name="l00118"></a>00118 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
|
|
<a name="l00119"></a>00119 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00120"></a>00120 );
|
|
<a name="l00121"></a>00121
|
|
<a name="l00122"></a>00122
|
|
<a name="l00137"></a>00137 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00138"></a>00138 (
|
|
<a name="l00139"></a>00139 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00140"></a>00140 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
|
|
<a name="l00141"></a>00141 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00142"></a>00142 );
|
|
<a name="l00143"></a>00143
|
|
<a name="l00162"></a>00162 <a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>
|
|
<a name="l00163"></a>00163 (
|
|
<a name="l00164"></a>00164 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
|
|
<a name="l00165"></a>00165 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
|
|
<a name="l00166"></a>00166 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> publicId
|
|
<a name="l00167"></a>00167 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00168"></a>00168 );
|
|
<a name="l00169"></a>00169
|
|
<a name="l00171"></a>00171
|
|
<a name="l00174"></a>00174 ~<a class="code" href="classxercesc_1_1URLInputSource.html">URLInputSource</a>();
|
|
<a name="l00176"></a>00176
|
|
<a name="l00177"></a>00177
|
|
<a name="l00178"></a>00178 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00179"></a>00179 <span class="comment">// Virtual input source interface</span>
|
|
<a name="l00180"></a>00180 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00181"></a>00181
|
|
<a name="l00184"></a>00184
|
|
<a name="l00189"></a>00189 BinInputStream* <a class="code" href="classxercesc_1_1InputSource.html#58559673267865caf4090fcb881e9f2f">makeStream</a>() <span class="keyword">const</span>;
|
|
<a name="l00190"></a>00190
|
|
<a name="l00192"></a>00192
|
|
<a name="l00193"></a>00193
|
|
<a name="l00194"></a>00194 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00195"></a>00195 <span class="comment">// Getter methods</span>
|
|
<a name="l00196"></a>00196 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00197"></a>00197
|
|
<a name="l00200"></a>00200
|
|
<a name="l00209"></a>00209 <span class="keyword">const</span> XMLURL& urlSrc() <span class="keyword">const</span>;
|
|
<a name="l00210"></a>00210
|
|
<a name="l00212"></a>00212
|
|
<a name="l00213"></a>00213
|
|
<a name="l00214"></a>00214 <span class="keyword">private</span> :
|
|
<a name="l00215"></a>00215 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00216"></a>00216 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00217"></a>00217 <span class="comment">// ----------------------------------------------------------------------- </span>
|
|
<a name="l00218"></a>00218 <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="l00219"></a>00219 <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="l00220"></a>00220
|
|
<a name="l00221"></a>00221 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00222"></a>00222 <span class="comment">// Private data members</span>
|
|
<a name="l00223"></a>00223 <span class="comment">//</span>
|
|
<a name="l00224"></a>00224 <span class="comment">// fURL</span>
|
|
<a name="l00225"></a>00225 <span class="comment">// This is the URL created from the passed ids.</span>
|
|
<a name="l00226"></a>00226 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00227"></a>00227 XMLURL fURL;
|
|
<a name="l00228"></a>00228 };
|
|
<a name="l00229"></a>00229
|
|
<a name="l00230"></a>00230
|
|
<a name="l00231"></a><a class="code" href="classxercesc_1_1URLInputSource.html#e91b1d6f5d8f6c55bff0d02d764bd1d7">00231</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLURL& URLInputSource::urlSrc()<span class="keyword"> const</span>
|
|
<a name="l00232"></a>00232 <span class="keyword"></span>{
|
|
<a name="l00233"></a>00233 <span class="keywordflow">return</span> fURL;
|
|
<a name="l00234"></a>00234 }
|
|
<a name="l00235"></a>00235
|
|
<a name="l00236"></a>00236 XERCES_CPP_NAMESPACE_END
|
|
<a name="l00237"></a>00237
|
|
<a name="l00238"></a>00238 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 20:16:43 2007 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.5.1 </small></address>
|
|
</body>
|
|
</html>
|