QXmlDTDHandler Class

The QXmlDTDHandler class provides an interface to report DTD content of XML data. More...

Header: #include <QXmlDTDHandler>
qmake: QT += xml
Inherited By:

QXmlDefaultHandler

Note: All functions in this class are reentrant.

Public Functions

virtual ~QXmlDTDHandler()
virtual QString errorString() const = 0
virtual bool notationDecl(const QString &name, const QString &publicId, const QString &systemId) = 0
virtual bool unparsedEntityDecl(const QString &name, const QString &publicId, const QString &systemId, const QString &notationName) = 0

Detailed Description

The QXmlDTDHandler class provides an interface to report DTD content of XML data.

If an application needs information about notations and unparsed entities, it can implement this interface and register an instance with QXmlReader::setDTDHandler().

Note that this interface includes only those DTD events that the XML recommendation requires processors to report, i.e. notation and unparsed entity declarations using notationDecl() and unparsedEntityDecl() respectively.

See also QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and Introduction to SAX2.

Member Function Documentation

[virtual] QXmlDTDHandler::~QXmlDTDHandler()

Destroys the instance of QXmlDTDHandler. The destructor is virtual.

[pure virtual] QString QXmlDTDHandler::errorString() const

[pure virtual] bool QXmlDTDHandler::notationDecl(const QString &name, const QString &publicId, const QString &systemId)

[pure virtual] bool QXmlDTDHandler::unparsedEntityDecl(const QString &name, const QString &publicId, const QString &systemId, const QString &notationName)