XQuilla/docs/simple-api/URLInputSource_8hpp-source.html
2020-02-17 22:17:06 +01:00

148 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&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;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 class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</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 527149 2007-04-10 14:56:39Z amassari $</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_URLINPUTSOURCE_HPP)</span>
<a name="l00023"></a><a class="code" href="URLInputSource_8hpp.html#df9e4f9d030739c2cffd51a71ac845a1">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_URLINPUTSOURCE_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;xercesc/util/XMLURL.hpp&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="InputSource_8hpp.html">xercesc/sax/InputSource.hpp</a>&gt;</span>
<a name="l00027"></a>00027
<a name="l00028"></a>00028 XERCES_CPP_NAMESPACE_BEGIN
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="keyword">class </span>BinInputStream;
<a name="l00031"></a>00031
<a name="l00047"></a><a class="code" href="classxercesc_1_1URLInputSource.html">00047</a> <span class="keyword">class </span>XMLPARSER_EXPORT <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a> : <span class="keyword">public</span> <a class="code" href="classxercesc_1_1InputSource.html" title="A single input source for an XML entity.">InputSource</a>
<a name="l00048"></a>00048 {
<a name="l00049"></a>00049 <span class="keyword">public</span> :
<a name="l00050"></a>00050 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00051"></a>00051 <span class="comment">// Constructors and Destructor</span>
<a name="l00052"></a>00052 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00053"></a>00053
<a name="l00056"></a>00056
<a name="l00068"></a>00068 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>
<a name="l00069"></a>00069 (
<a name="l00070"></a>00070 <span class="keyword">const</span> XMLURL&amp; urlId
<a name="l00071"></a>00071 , <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
<a name="l00072"></a>00072 );
<a name="l00073"></a>00073
<a name="l00074"></a>00074
<a name="l00089"></a>00089 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>
<a name="l00090"></a>00090 (
<a name="l00091"></a>00091 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
<a name="l00092"></a>00092 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00093"></a>00093 , <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
<a name="l00094"></a>00094 );
<a name="l00095"></a>00095
<a name="l00112"></a>00112 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>
<a name="l00113"></a>00113 (
<a name="l00114"></a>00114 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
<a name="l00115"></a>00115 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00116"></a>00116 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l00117"></a>00117 , <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
<a name="l00118"></a>00118 );
<a name="l00119"></a>00119
<a name="l00120"></a>00120
<a name="l00135"></a>00135 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>
<a name="l00136"></a>00136 (
<a name="l00137"></a>00137 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
<a name="l00138"></a>00138 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
<a name="l00139"></a>00139 , <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
<a name="l00140"></a>00140 );
<a name="l00141"></a>00141
<a name="l00160"></a>00160 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>
<a name="l00161"></a>00161 (
<a name="l00162"></a>00162 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseId
<a name="l00163"></a>00163 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
<a name="l00164"></a>00164 , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> publicId
<a name="l00165"></a>00165 , <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager
<a name="l00166"></a>00166 );
<a name="l00167"></a>00167
<a name="l00169"></a>00169
<a name="l00172"></a>00172 ~<a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>();
<a name="l00174"></a>00174
<a name="l00175"></a>00175
<a name="l00176"></a>00176 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00177"></a>00177 <span class="comment">// Virtual input source interface</span>
<a name="l00178"></a>00178 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00179"></a>00179
<a name="l00182"></a>00182
<a name="l00187"></a>00187 BinInputStream* <a class="code" href="classxercesc_1_1InputSource.html#9d3101df0ae8a72045f81a7028bc36d8" title="Makes the byte stream for this input source.">makeStream</a>() <span class="keyword">const</span>;
<a name="l00188"></a>00188
<a name="l00190"></a>00190
<a name="l00191"></a>00191
<a name="l00192"></a>00192 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00193"></a>00193 <span class="comment">// Getter methods</span>
<a name="l00194"></a>00194 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00195"></a>00195
<a name="l00198"></a>00198
<a name="l00207"></a>00207 <span class="keyword">const</span> XMLURL&amp; urlSrc() <span class="keyword">const</span>;
<a name="l00208"></a>00208
<a name="l00210"></a>00210
<a name="l00211"></a>00211
<a name="l00212"></a>00212 <span class="keyword">private</span> :
<a name="l00213"></a>00213 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00214"></a>00214 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00215"></a>00215 <span class="comment">// ----------------------------------------------------------------------- </span>
<a name="l00216"></a>00216 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>&amp;);
<a name="l00217"></a>00217 <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1URLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>&amp;);
<a name="l00218"></a>00218
<a name="l00219"></a>00219 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00220"></a>00220 <span class="comment">// Private data members</span>
<a name="l00221"></a>00221 <span class="comment">//</span>
<a name="l00222"></a>00222 <span class="comment">// fURL</span>
<a name="l00223"></a>00223 <span class="comment">// This is the URL created from the passed ids.</span>
<a name="l00224"></a>00224 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00225"></a>00225 XMLURL fURL;
<a name="l00226"></a>00226 };
<a name="l00227"></a>00227
<a name="l00228"></a>00228
<a name="l00229"></a><a class="code" href="classxercesc_1_1URLInputSource.html#01b92e9b0487e99dc40dcf21cb77c617">00229</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLURL&amp; URLInputSource::urlSrc()<span class="keyword"> const</span>
<a name="l00230"></a>00230 <span class="keyword"></span>{
<a name="l00231"></a>00231 <span class="keywordflow">return</span> fURL;
<a name="l00232"></a>00232 }
<a name="l00233"></a>00233
<a name="l00234"></a>00234 XERCES_CPP_NAMESPACE_END
<a name="l00235"></a>00235
<a name="l00236"></a>00236 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:53:55 2009 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>