<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Xerces-C++: 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.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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> </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 <<a class="code" href="XMLURL_8hpp.html">xercesc/util/XMLURL.hpp</a>></span> <a name="l00026"></a>00026 <span class="preprocessor">#include <<a class="code" href="InputSource_8hpp.html">xercesc/sax/InputSource.hpp</a>></span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a> <a name="l00029"></a>00029 <a name="l00030"></a>00030 <span class="keyword">class </span><a class="code" href="classBinInputStream.html">BinInputStream</a>; <a name="l00031"></a>00031 <a name="l00047"></a><a class="code" href="classURLInputSource.html">00047</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a> : <span class="keyword">public</span> <a class="code" href="classInputSource.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="classURLInputSource.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> <a class="code" href="classXMLURL.html">XMLURL</a>& urlId <a name="l00071"></a>00071 , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a> <a name="l00072"></a>00072 ); <a name="l00073"></a>00073 <a name="l00074"></a>00074 <a name="l00089"></a>00089 <a class="code" href="classURLInputSource.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> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> baseId <a name="l00092"></a>00092 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId <a name="l00093"></a>00093 , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a> <a name="l00094"></a>00094 ); <a name="l00095"></a>00095 <a name="l00112"></a>00112 <a class="code" href="classURLInputSource.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> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> baseId <a name="l00115"></a>00115 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId <a name="l00116"></a>00116 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> publicId <a name="l00117"></a>00117 , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a> <a name="l00118"></a>00118 ); <a name="l00119"></a>00119 <a name="l00120"></a>00120 <a name="l00135"></a>00135 <a class="code" href="classURLInputSource.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> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <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="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a> <a name="l00140"></a>00140 ); <a name="l00141"></a>00141 <a name="l00160"></a>00160 <a class="code" href="classURLInputSource.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> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <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="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a> <a name="l00166"></a>00166 ); <a name="l00167"></a>00167 <a name="l00169"></a>00169 <a name="l00172"></a>00172 ~<a class="code" href="classURLInputSource.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 <a class="code" href="classBinInputStream.html">BinInputStream</a>* <a class="code" href="classInputSource.html#f0722ef511e91e7b290528b3fd13be09" 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> <a class="code" href="classXMLURL.html">XMLURL</a>& 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="classURLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>(<span class="keyword">const</span> <a class="code" href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>&); <a name="l00217"></a>00217 <a class="code" href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>& operator=(<span class="keyword">const</span> <a class="code" href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class.">URLInputSource</a>&); <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 <a class="code" href="classXMLURL.html">XMLURL</a> fURL; <a name="l00226"></a>00226 }; <a name="l00227"></a>00227 <a name="l00228"></a>00228 <a name="l00229"></a><a class="code" href="classURLInputSource.html#c068469253e88fc5ae9a69e45ad7517d">00229</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classXMLURL.html">XMLURL</a>& <a class="code" href="classURLInputSource.html#c068469253e88fc5ae9a69e45ad7517d" title="This method will return a const reference to the URL member which contains the system...">URLInputSource::urlSrc</a>()<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 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a> <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 Fri Jan 29 15:30:48 2010 for Xerces-C++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>