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 #ifndef DECLHANDLER_HPP
00075 #define DECLHANDLER_HPP
00076
00077 #include <xercesc/util/XercesDefs.hpp>
00078
00079 XERCES_CPP_NAMESPACE_BEGIN
00080
00100 class DeclHandler
00101 {
00102 public:
00106 DeclHandler()
00107 {
00108 }
00109
00111 virtual ~DeclHandler()
00112 {
00113 }
00115
00135 virtual void elementDecl
00136 (
00137 const XMLCh* const name
00138 , const XMLCh* const model
00139 ) = 0;
00140
00158 virtual void attributeDecl
00159 (
00160 const XMLCh* const eName
00161 , const XMLCh* const aName
00162 , const XMLCh* const type
00163 , const XMLCh* const mode
00164 , const XMLCh* const value
00165 ) = 0;
00166
00179 virtual void internalEntityDecl
00180 (
00181 const XMLCh* const name
00182 , const XMLCh* const value
00183 ) = 0;
00184
00197 virtual void externalEntityDecl
00198 (
00199 const XMLCh* const name
00200 , const XMLCh* const publicId
00201 , const XMLCh* const systemId
00202 ) = 0;
00203
00205 private :
00206
00207
00208 DeclHandler(const DeclHandler&);
00210 DeclHandler& operator=(const DeclHandler&);
00211 };
00212
00213 XERCES_CPP_NAMESPACE_END
00214
00215 #endif