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 #if !defined(XMLENTITYHANDLER_HPP)
00111 #define XMLENTITYHANDLER_HPP
00112
00113 #include <xercesc/util/XercesDefs.hpp>
00114
00115 XERCES_CPP_NAMESPACE_BEGIN
00116
00117 class InputSource;
00118 class XMLBuffer;
00119 class XMLResourceIdentifier;
00120
00131 class XMLEntityHandler
00132 {
00133 public:
00134
00135
00136
00137
00140
00144 virtual ~XMLEntityHandler()
00145 {
00146 }
00148
00149
00150
00151
00152
00155
00162 virtual void endInputSource(const InputSource& inputSource) = 0;
00163
00175 virtual bool expandSystemId
00176 (
00177 const XMLCh* const systemId
00178 , XMLBuffer& toFill
00179 ) = 0;
00180
00186 virtual void resetEntities() = 0;
00187
00208 virtual InputSource* resolveEntity
00209 (
00210 const XMLCh* const publicId
00211 , const XMLCh* const systemId
00212 , const XMLCh* const baseURI = 0
00213 ) = 0;
00214
00230 virtual InputSource* resolveEntity
00231 (
00232 XMLResourceIdentifier* resourceIdentifier
00233 ) = 0;
00234
00241 virtual void startInputSource(const InputSource& inputSource) = 0;
00243
00244
00245 protected :
00246
00247
00248
00251
00255 XMLEntityHandler()
00256 {
00257 }
00259
00260
00261
00262 private:
00263
00264
00265
00266 XMLEntityHandler(const XMLEntityHandler&);
00267 XMLEntityHandler& operator=(const XMLEntityHandler&);
00268 };
00269
00270 XERCES_CPP_NAMESPACE_END
00271
00272 #endif