Xerces-C++: DefaultHandler.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_DEFAULTHANDLER_HPP)

23#define XERCESC_INCLUDE_GUARD_DEFAULTHANDLER_HPP

24

32

34

37

61

68{

69public:

88 (

89 const XMLCh* const chars

91 );

92

106

123 (

124 const XMLCh* const uri,

125 const XMLCh* const localname,

126 const XMLCh* const qname

127 );

128

145 (

146 const XMLCh* const chars

148 );

149

166 (

167 const XMLCh* const target

168 , const XMLCh* const data

169 );

170

176 virtual void resetDocument();

178

194

208

226 (

227 const XMLCh* const uri,

228 const XMLCh* const localname,

229 const XMLCh* const qname

231 );

232

247 (

248 const XMLCh* const prefix,

249 const XMLCh* const uri

250 ) ;

251

265 (

266 const XMLCh* const prefix

267 ) ;

268

287 (

288 const XMLCh* const name

289 ) ;

290

292

318 (

319 const XMLCh* const publicId

320 , const XMLCh* const systemId

321 );

322

324

342

361

377

384

386

387

390

405 (

406 const XMLCh* const name

407 , const XMLCh* const publicId

408 , const XMLCh* const systemId

409 );

410

417

433 (

434 const XMLCh* const name

435 , const XMLCh* const publicId

436 , const XMLCh* const systemId

437 , const XMLCh* const notationName

438 );

440

441

460 (

461 const XMLCh* const chars

463 );

464

475

485 virtual void endDTD ();

486

498

509

523 (

524 const XMLCh* const name

525 , const XMLCh* const publicId

526 , const XMLCh* const systemId

527 );

528

540

542

546

564 (

565 const XMLCh* const name

566 , const XMLCh* const model

567 );

568

584 (

585 const XMLCh* const eName

586 , const XMLCh* const aName

587 , const XMLCh* const type

588 , const XMLCh* const mode

589 , const XMLCh* const value

590 );

591

605 (

606 const XMLCh* const name

607 , const XMLCh* const value

608 );

609

623 (

624 const XMLCh* const name

625 , const XMLCh* const publicId

626 , const XMLCh* const systemId

627 );

628

630

633

634private:

635

636

637

640};

641

642

643

644

645

650

654

656 , const XMLCh* const

657 , const XMLCh* const)

658{

659}

660

664

669

670inline void

675

677 , const XMLCh* const

678 , const XMLCh* const)

679{

680}

681

682inline void

684 , const XMLCh* const)

685{

686}

687

691

695

699

702 , const XMLCh* const)

703{

704 return 0;

705}

706

707inline void

709 , const XMLCh* const

710 , const XMLCh* const

711 , const XMLCh* const)

712{

713}

714

718

722

723inline void

725 , const XMLCh* const

726 , const XMLCh* const

729{

730}

731

735

737 ,const XMLCh* const)

738{

739}

740

744

748

753

757

761

765

769

771 , const XMLCh* const

772 , const XMLCh* const)

773{

774}

775

779

781 const XMLCh* const,

782 const XMLCh* const,

783 const XMLCh* const,

784 const XMLCh* const)

785{

786}

787

789 const XMLCh* const)

790{

791}

792

794 const XMLCh* const,

795 const XMLCh* const)

796{

797}

798

800 const XMLCh* const)

801{

802}

803

805

806#endif

#define SAX2_EXPORT

Definition XercesDefs.hpp:165

#define XERCES_CPP_NAMESPACE_BEGIN

Definition XercesDefs.hpp:112

#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 Attributes.hpp:83

Receive notification of general document events.

Definition ContentHandler.hpp:61

virtual void skippedEntity(const XMLCh *const name)=0

Receive notification of a skipped entity.

virtual void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)=0

Receive notification of the beginning of an element.

virtual void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length)=0

Receive notification of ignorable whitespace in element content.

virtual void endPrefixMapping(const XMLCh *const prefix)=0

Receive notification of the end of an namespace prefix mapping.

virtual void endDocument()=0

Receive notification of the end of a document.

virtual void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)=0

Receive notification of the end of an element.

virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)=0

Receive notification of a processing instruction.

virtual void startPrefixMapping(const XMLCh *const prefix, const XMLCh *const uri)=0

Receive notification of the start of an namespace prefix mapping.

virtual void characters(const XMLCh *const chars, const XMLSize_t length)=0

Receive notification of character data.

virtual void startDocument()=0

Receive notification of the beginning of a document.

virtual void setDocumentLocator(const Locator *const locator)=0

Receive an object for locating the origin of SAX document events.

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 DTD declaration events.

Definition DeclHandler.hpp:49

virtual void externalEntityDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)=0

Report a parsed external entity declaration.

virtual void elementDecl(const XMLCh *const name, const XMLCh *const model)=0

Report an element type declaration.

virtual void attributeDecl(const XMLCh *const eName, const XMLCh *const aName, const XMLCh *const type, const XMLCh *const mode, const XMLCh *const value)=0

Report an attribute type declaration.

virtual void internalEntityDecl(const XMLCh *const name, const XMLCh *const value)=0

Report an internal entity declaration.

Default base class for SAX2 handlers.

Definition DefaultHandler.hpp:68

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 DefaultHandler.hpp:708

virtual void startDTD(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)

Receive notification of the start of the DTD declarations.

Definition DefaultHandler.hpp:770

virtual void characters(const XMLCh *const chars, const XMLSize_t length)

Receive notification of character data inside an element.

Definition DefaultHandler.hpp:646

virtual void internalEntityDecl(const XMLCh *const name, const XMLCh *const value)

Report an internal entity declaration.

Definition DefaultHandler.hpp:799

virtual void startCDATA()

Receive notification of the start of a CDATA section.

Definition DefaultHandler.hpp:766

virtual void elementDecl(const XMLCh *const name, const XMLCh *const model)

Report an element type declaration.

Definition DefaultHandler.hpp:788

virtual void startEntity(const XMLCh *const name)

Receive notification of the start of an entity.

Definition DefaultHandler.hpp:776

virtual void endPrefixMapping(const XMLCh *const prefix)

Receive notification of the end of an namespace prefix mapping.

Definition DefaultHandler.hpp:741

virtual void fatalError(const SAXParseException &exc)

Report a fatal XML parsing error.

Definition DefaultHandler.hpp:665

virtual void resetDocument()

Reset the Document object on its reuse.

Definition DefaultHandler.hpp:692

virtual InputSource * resolveEntity(const XMLCh *const publicId, const XMLCh *const systemId)

Resolve an external entity.

Definition DefaultHandler.hpp:701

virtual void attributeDecl(const XMLCh *const eName, const XMLCh *const aName, const XMLCh *const type, const XMLCh *const mode, const XMLCh *const value)

Report an attribute type declaration.

Definition DefaultHandler.hpp:780

virtual void endDocument()

Receive notification of the end of the document.

Definition DefaultHandler.hpp:651

virtual void externalEntityDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)

Report a parsed external entity declaration.

Definition DefaultHandler.hpp:793

virtual void error(const SAXParseException &exc)

Receive notification of a recoverable parser error.

Definition DefaultHandler.hpp:661

virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)

Receive notification of a processing instruction.

Definition DefaultHandler.hpp:683

virtual void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)

Receive notification of the start of an element.

Definition DefaultHandler.hpp:724

virtual void startDocument()

Receive notification of the beginning of the document.

Definition DefaultHandler.hpp:719

virtual void resetDocType()

Reset the DTD object on its reuse.

Definition DefaultHandler.hpp:696

virtual void startPrefixMapping(const XMLCh *const prefix, const XMLCh *const uri)

Receive notification of the start of an namespace prefix mapping.

Definition DefaultHandler.hpp:736

DefaultHandler()

Definition DefaultHandler.hpp:631

virtual void skippedEntity(const XMLCh *const name)

Receive notification of a skipped entity.

Definition DefaultHandler.hpp:745

virtual ~DefaultHandler()

Definition DefaultHandler.hpp:632

virtual void comment(const XMLCh *const chars, const XMLSize_t length)

Receive notification of comments.

Definition DefaultHandler.hpp:749

virtual void setDocumentLocator(const Locator *const locator)

Receive a Locator object for document events.

Definition DefaultHandler.hpp:715

virtual void endDTD()

Receive notification of the end of the DTD declarations.

Definition DefaultHandler.hpp:758

virtual void notationDecl(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)

Receive notification of a notation declaration.

Definition DefaultHandler.hpp:676

virtual void warning(const SAXParseException &exc)

Receive notification of a parser warning.

Definition DefaultHandler.hpp:732

virtual void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)

Receive notification of the end of an element.

Definition DefaultHandler.hpp:655

virtual void resetErrors()

Reset the Error handler object on its reuse.

Definition DefaultHandler.hpp:688

virtual void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length)

Receive notification of ignorable whitespace in element content.

Definition DefaultHandler.hpp:671

virtual void endCDATA()

Receive notification of the end of a CDATA section.

Definition DefaultHandler.hpp:754

virtual void endEntity(const XMLCh *const name)

Receive notification of the end of an entity.

Definition DefaultHandler.hpp:762

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.

A single input source for an XML entity.

Definition InputSource.hpp:63

Receive notification of lexical events.

Definition LexicalHandler.hpp:47

virtual void startDTD(const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)=0

Receive notification of the start of the DTD declarations.

virtual void endDTD()=0

Receive notification of the end of the DTD declarations.

virtual void endEntity(const XMLCh *const name)=0

Receive notification of the end of an entity.

virtual void startCDATA()=0

Receive notification of the start of a CDATA section.

virtual void endCDATA()=0

Receive notification of the end of a CDATA section.

virtual void startEntity(const XMLCh *const name)=0

Receive notification of the start of an entity.

virtual void comment(const XMLCh *const chars, const XMLSize_t length)=0

Receive notification of comments.

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