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 #ifndef DOCUMENTHANDLER_HPP
00095 #define DOCUMENTHANDLER_HPP
00096
00097 #include <xercesc/util/XercesDefs.hpp>
00098
00099 XERCES_CPP_NAMESPACE_BEGIN
00100
00101 class AttributeList;
00102 class Locator;
00103
00132 class DocumentHandler
00133 {
00134 public:
00138 DocumentHandler()
00139 {
00140 }
00141
00143 virtual ~DocumentHandler()
00144 {
00145 }
00147
00175 virtual void characters
00176 (
00177 const XMLCh* const chars
00178 , const unsigned int length
00179 ) = 0;
00180
00193 virtual void endDocument () = 0;
00194
00210 virtual void endElement(const XMLCh* const name) = 0;
00211
00235 virtual void ignorableWhitespace
00236 (
00237 const XMLCh* const chars
00238 , const unsigned int length
00239 ) = 0;
00240
00258 virtual void processingInstruction
00259 (
00260 const XMLCh* const target
00261 , const XMLCh* const data
00262 ) = 0;
00263
00271 virtual void resetDocument() = 0;
00272
00301 virtual void setDocumentLocator(const Locator* const locator) = 0;
00302
00313 virtual void startDocument() = 0;
00314
00337 virtual void startElement
00338 (
00339 const XMLCh* const name
00340 , AttributeList& attrs
00341 ) = 0;
00342
00344
00345 private :
00346
00347
00348 DocumentHandler(const DocumentHandler&);
00350 DocumentHandler& operator=(const DocumentHandler&);
00351 };
00352
00353 XERCES_CPP_NAMESPACE_END
00354
00355 #endif