00001 #ifndef DOMInputSource_HEADER_GUARD_
00002 #define DOMInputSource_HEADER_GUARD_
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 #include <xercesc/util/XercesDefs.hpp>
00066
00067 XERCES_CPP_NAMESPACE_BEGIN
00068
00069
00070 class BinInputStream;
00071
00072
00099 class DOMInputSource
00100 {
00101 protected:
00102
00103
00104
00107 DOMInputSource() {};
00109
00110 private:
00111
00112
00113
00116 DOMInputSource(const DOMInputSource &);
00117 DOMInputSource & operator = (const DOMInputSource &);
00119
00120 public:
00121
00122
00123
00130 virtual ~DOMInputSource() {};
00132
00133
00134
00135
00138
00139
00140
00153 virtual const XMLCh* getEncoding() const = 0;
00154
00155
00165 virtual const XMLCh* getPublicId() const = 0;
00166
00167
00179 virtual const XMLCh* getSystemId() const = 0;
00180
00181
00193 virtual const XMLCh* getBaseURI() const = 0;
00194
00195
00196
00197
00212 virtual void setEncoding(const XMLCh* const encodingStr) = 0;
00213
00214
00227 virtual void setPublicId(const XMLCh* const publicId) = 0;
00228
00244 virtual void setSystemId(const XMLCh* const systemId) = 0;
00245
00257 virtual void setBaseURI(const XMLCh* const baseURI) = 0;
00259
00260
00261
00262
00265
00278 virtual BinInputStream* makeStream() const = 0;
00279
00291 virtual void setIssueFatalErrorIfNotFound(const bool flag) = 0;
00292
00293
00304 virtual bool getIssueFatalErrorIfNotFound() const = 0;
00305
00312 virtual void release() = 0;
00314 };
00315
00316
00317 XERCES_CPP_NAMESPACE_END
00318
00319 #endif