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 #ifndef CONTENTHANDLER_HPP
00097 #define CONTENTHANDLER_HPP
00098
00099 #include <xercesc/util/XercesDefs.hpp>
00100
00101 XERCES_CPP_NAMESPACE_BEGIN
00102
00103 class Attributes;
00104 class Locator;
00105
00134 class ContentHandler
00135 {
00136 public:
00140 ContentHandler()
00141 {
00142 }
00143
00145 virtual ~ContentHandler()
00146 {
00147 }
00149
00177 virtual void characters
00178 (
00179 const XMLCh* const chars
00180 , const unsigned int length
00181 ) = 0;
00182
00195 virtual void endDocument () = 0;
00196
00211 virtual void endElement
00212 (
00213 const XMLCh* const uri,
00214 const XMLCh* const localname,
00215 const XMLCh* const qname
00216 ) = 0;
00217
00241 virtual void ignorableWhitespace
00242 (
00243 const XMLCh* const chars
00244 , const unsigned int length
00245 ) = 0;
00246
00264 virtual void processingInstruction
00265 (
00266 const XMLCh* const target
00267 , const XMLCh* const data
00268 ) = 0;
00269
00298 virtual void setDocumentLocator(const Locator* const locator) = 0;
00299
00310 virtual void startDocument() = 0;
00311
00335 virtual void startElement
00336 (
00337 const XMLCh* const uri,
00338 const XMLCh* const localname,
00339 const XMLCh* const qname,
00340 const Attributes& attrs
00341 ) = 0;
00342
00355 virtual void startPrefixMapping
00356 (
00357 const XMLCh* const prefix,
00358 const XMLCh* const uri
00359 ) = 0 ;
00360
00372 virtual void endPrefixMapping
00373 (
00374 const XMLCh* const prefix
00375 ) = 0 ;
00376
00398 virtual void skippedEntity
00399 (
00400 const XMLCh* const name
00401 ) = 0 ;
00402
00404 private :
00405
00406
00407 ContentHandler(const ContentHandler&);
00409 ContentHandler& operator=(const ContentHandler&);
00410 };
00411
00412 XERCES_CPP_NAMESPACE_END
00413
00414 #endif