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 #ifndef PARSER_HPP
00103 #define PARSER_HPP
00104
00105 #include <xercesc/util/XercesDefs.hpp>
00106
00107 XERCES_CPP_NAMESPACE_BEGIN
00108
00109 class DTDHandler;
00110 class EntityResolver;
00111 class DocumentHandler;
00112 class ErrorHandler;
00113 class InputSource;
00114
00138 #include <xercesc/util/XercesDefs.hpp>
00139
00140 class Parser
00141 {
00142 public:
00144
00145
00146
00148
00149 Parser()
00150 {
00151 }
00153 virtual ~Parser()
00154 {
00155 }
00157
00158
00159
00160
00179 virtual void setEntityResolver(EntityResolver* const resolver) = 0;
00180
00196 virtual void setDTDHandler(DTDHandler* const handler) = 0;
00197
00214 virtual void setDocumentHandler(DocumentHandler* const handler) = 0;
00215
00233 virtual void setErrorHandler(ErrorHandler* const handler) = 0;
00234
00260 virtual void parse
00261 (
00262 const InputSource& source
00263 ) = 0;
00264
00284 virtual void parse
00285 (
00286 const XMLCh* const systemId
00287 ) = 0;
00288
00308 virtual void parse
00309 (
00310 const char* const systemId
00311 ) = 0;
00313
00314
00315 private :
00316
00317 Parser(const Parser&);
00318
00319
00320 Parser& operator=(const Parser&);
00321 };
00322
00323 XERCES_CPP_NAMESPACE_END
00324
00325 #endif