Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgxml::DTDHandler Class Reference
[XML SAX Module]

#include <qgarlib/sax/DTDHandler.H>

Inheritance diagram for qgxml::DTDHandler:

qgxml::DefaultHandler qgar::QgarAppDescr List of all members.

Detailed Description

Receive notification of basic DTD-related events.

If a SAX application needs information about notations and unparsed entities, then the application implements this interface and registers an instance with the SAX parser using the parser's setDTDHandler method. The parser uses the instance to report notation and unparsed entity declarations to the application.

This class is an adaptation for C++ of the interface of the same name implemented in the Java SAX API (http://www.saxproject.org).

Author:
Jan Rendek
Date:
March 10, 2003 15:33
Since:
Qgar 2.1.1

Definition at line 69 of file DTDHandler.H.

Public Member Functions

virtual void notationDecl (const std::string &name, const std::string &publicId, const std::string &systemId)=0
 Receive notification of a notation declaration event.
virtual void unparsedEntityDecl (const std::string &name, const std::string &publicId, const std::string &systemId, const std::string &notationName)=0
 Receive notification of an unparsed entity declaration event.
Destructors
virtual ~DTDHandler ()
 Destructor.


Constructor & Destructor Documentation

virtual qgxml::DTDHandler::~DTDHandler  )  [inline, virtual]
 

Destructor.

Definition at line 82 of file DTDHandler.H.


Member Function Documentation

virtual void qgxml::DTDHandler::notationDecl const std::string &  name,
const std::string &  publicId,
const std::string &  systemId
[pure virtual]
 

Receive notification of a notation declaration event.

Parameters:
name The notation name.
publicId The notation's public identifier.
systemId The notation's system identifier.

Implemented in qgxml::DefaultHandler.

Referenced by qgxml::XercesQgarDTDHandlerAdaptor::notationDecl(), and qgxml::QtQgarDTDHandlerAdaptor::notationDecl().

virtual void qgxml::DTDHandler::unparsedEntityDecl const std::string &  name,
const std::string &  publicId,
const std::string &  systemId,
const std::string &  notationName
[pure virtual]
 

Receive notification of an unparsed entity declaration event.

Parameters:
name The unparsed entity's name.
publicId The entity's public identifier.
systemId The entity's system identifier.
notationName The name of the associated notation.

Implemented in qgxml::DefaultHandler.

Referenced by qgxml::XercesQgarDTDHandlerAdaptor::unparsedEntityDecl(), and qgxml::QtQgarDTDHandlerAdaptor::unparsedEntityDecl().


The documentation for this class was generated from the following file: