Xerces-C++: HandlerBase.hpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#if !defined(XERCESC_INCLUDE_GUARD_HANDLERBASE_HPP)
23#define XERCESC_INCLUDE_GUARD_HANDLERBASE_HPP
24
30
32
35
57
60{
61public:
80 (
81 const XMLCh* const chars
83 );
84
98
113
130 (
131 const XMLCh* const chars
133 );
134
151 (
152 const XMLCh* const target
153 , const XMLCh* const data
154 );
155
163
179
193
209 (
210 const XMLCh* const name
212 );
213
215
241 (
242 const XMLCh* const publicId
243 , const XMLCh* const systemId
244 );
245
247
265
284
300
307
309
310
313
328 (
329 const XMLCh* const name
330 , const XMLCh* const publicId
331 , const XMLCh* const systemId
332 );
333
340
356 (
357 const XMLCh* const name
358 , const XMLCh* const publicId
359 , const XMLCh* const systemId
360 , const XMLCh* const notationName
361 );
363
366
367private:
368
369
370
373};
374
375
376
377
378
383
387
391
395
400
401inline void
406
408 , const XMLCh* const
409 , const XMLCh* const)
410{
411}
412
413inline void
415 , const XMLCh* const)
416{
417}
418
422
426
430
433 , const XMLCh* const)
434{
435 return 0;
436}
437
438inline void
440 , const XMLCh* const
441 , const XMLCh* const
442 , const XMLCh* const)
443{
444}
445
449
453
454inline void
459
463
465
466#endif
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define SAX_EXPORT
Definition XercesDefs.hpp:164
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Interface for an element's attribute specifications.
Definition AttributeList.hpp:81
Receive notification of basic DTD-related events.
Definition DTDHandler.hpp:60
virtual void resetDocType()=0
Reset the DocType object on its reuse.
virtual void unparsedEntityDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const notationName)=0
Receive notification of an unparsed entity declaration event.
virtual void notationDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)=0
Receive notification of a notation declaration event.
Receive notification of general document events.
Definition DocumentHandler.hpp:61
virtual void characters(const XMLCh *const chars, const XMLSize_t length)=0
Receive notification of character data.
virtual void startElement(const XMLCh *const name, AttributeList &attrs)=0
Receive notification of the beginning of an element.
virtual void startDocument()=0
Receive notification of the beginning of a document.
virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)=0
Receive notification of a processing instruction.
virtual void endDocument()=0
Receive notification of the end of a document.
virtual void resetDocument()=0
Reset the Document object on its reuse.
virtual void endElement(const XMLCh *const name)=0
Receive notification of the end of an element.
virtual void setDocumentLocator(const Locator *const locator)=0
Receive an object for locating the origin of SAX document events.
virtual void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length)=0
Receive notification of ignorable whitespace in element content.
Basic interface for resolving entities.
Definition EntityResolver.hpp:87
virtual InputSource * resolveEntity(const XMLCh *const publicId, const XMLCh *const systemId)=0
Allow the application to resolve external entities.
Basic interface for SAX error handlers.
Definition ErrorHandler.hpp:61
virtual void warning(const SAXParseException &exc)=0
Receive notification of a warning.
virtual void fatalError(const SAXParseException &exc)=0
Receive notification of a non-recoverable error.
virtual void resetErrors()=0
Reset the Error handler object on its reuse.
virtual void error(const SAXParseException &exc)=0
Receive notification of a recoverable error.
Default base class for handlers.
Definition HandlerBase.hpp:60
virtual void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length)
Receive notification of ignorable whitespace in element content.
Definition HandlerBase.hpp:402
virtual void endDocument()
Receive notification of the end of the document.
Definition HandlerBase.hpp:384
virtual void resetDocType()
Reset the DTD object on its reuse.
Definition HandlerBase.hpp:427
virtual void resetDocument()
Reset the Document object on its reuse.
Definition HandlerBase.hpp:423
virtual void unparsedEntityDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const notationName)
Receive notification of an unparsed entity declaration.
Definition HandlerBase.hpp:439
virtual ~HandlerBase()
Definition HandlerBase.hpp:365
virtual void startElement(const XMLCh *const name, AttributeList &attributes)
Receive notification of the start of an element.
Definition HandlerBase.hpp:455
virtual void startDocument()
Receive notification of the beginning of the document.
Definition HandlerBase.hpp:450
virtual void notationDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)
Receive notification of a notation declaration.
Definition HandlerBase.hpp:407
virtual void characters(const XMLCh *const chars, const XMLSize_t length)
Receive notification of character data inside an element.
Definition HandlerBase.hpp:379
virtual void error(const SAXParseException &exc)
Receive notification of a recoverable parser error.
Definition HandlerBase.hpp:392
virtual void fatalError(const SAXParseException &exc)
Report a fatal XML parsing error.
Definition HandlerBase.hpp:396
virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)
Receive notification of a processing instruction.
Definition HandlerBase.hpp:414
HandlerBase()
Definition HandlerBase.hpp:364
virtual void endElement(const XMLCh *const name)
Receive notification of the end of an element.
Definition HandlerBase.hpp:388
virtual InputSource * resolveEntity(const XMLCh *const publicId, const XMLCh *const systemId)
Resolve an external entity.
Definition HandlerBase.hpp:432
virtual void resetErrors()
Reset the Error handler object on its reuse.
Definition HandlerBase.hpp:419
virtual void warning(const SAXParseException &exc)
Receive notification of a parser warning.
Definition HandlerBase.hpp:460
virtual void setDocumentLocator(const Locator *const locator)
Receive a Locator object for document events.
Definition HandlerBase.hpp:446
A single input source for an XML entity.
Definition InputSource.hpp:63
Interface for associating a SAX event with a document location.
Definition Locator.hpp:55
Encapsulate an XML parse error or warning.
Definition SAXParseException.hpp:49