00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112 #if !defined(URLINPUTSOURCE_HPP)
00113 #define URLINPUTSOURCE_HPP
00114
00115 #include <xercesc/util/XMLURL.hpp>
00116 #include <xercesc/sax/InputSource.hpp>
00117
00118 XERCES_CPP_NAMESPACE_BEGIN
00119
00120 class BinInputStream;
00121
00137 class URLInputSource : public InputSource
00138 {
00139 public :
00140
00141
00142
00143
00146
00158 URLInputSource
00159 (
00160 const XMLURL& urlId
00161 , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
00162 );
00163
00164
00179 URLInputSource
00180 (
00181 const XMLCh* const baseId
00182 , const XMLCh* const systemId
00183 , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
00184 );
00185
00202 URLInputSource
00203 (
00204 const XMLCh* const baseId
00205 , const XMLCh* const systemId
00206 , const XMLCh* const publicId
00207 , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
00208 );
00209
00210
00225 URLInputSource
00226 (
00227 const XMLCh* const baseId
00228 , const char* const systemId
00229 , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
00230 );
00231
00250 URLInputSource
00251 (
00252 const XMLCh* const baseId
00253 , const char* const systemId
00254 , const char* const publicId
00255 , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
00256 );
00257
00259
00262 ~URLInputSource();
00264
00265
00266
00267
00268
00269
00272
00277 BinInputStream* makeStream() const;
00278
00280
00281
00282
00283
00284
00285
00288
00297 const XMLURL& urlSrc() const;
00298
00300
00301
00302 private :
00303
00304
00305
00306 URLInputSource(const URLInputSource&);
00307 URLInputSource& operator=(const URLInputSource&);
00308
00309
00310
00311
00312
00313
00314
00315 XMLURL fURL;
00316 };
00317
00318
00319 inline const XMLURL& URLInputSource::urlSrc() const
00320 {
00321 return fURL;
00322 }
00323
00324 XERCES_CPP_NAMESPACE_END
00325
00326 #endif