1QXmlDTDHandler(3qt)                                        QXmlDTDHandler(3qt)
2
3
4

NAME

6       QXmlDTDHandler - Interface to report DTD content of XML data
7

SYNOPSIS

9       All the functions in this class are reentrant when Qt is built with
10       thread support.</p>
11
12       #include <qxml.h>
13
14       Inherited by QXmlDefaultHandler.
15
16   Public Members
17       virtual bool notationDecl ( const QString & name, const QString &
18           publicId, const QString & systemId ) = 0
19       virtual bool unparsedEntityDecl ( const QString & name, const QString &
20           publicId, const QString & systemId, const QString & notationName )
21           = 0
22       virtual QString errorString () = 0
23

DESCRIPTION

25       The QXmlDTDHandler class provides an interface to report DTD content of
26       XML data.
27
28       If an application needs information about notations and unparsed
29       entities, it can implement this interface and register an instance with
30       QXmlReader::setDTDHandler().
31
32       Note that this interface includes only those DTD events that the XML
33       recommendation requires processors to report, i.e. notation and
34       unparsed entity declarations using notationDecl() and
35       unparsedEntityDecl() respectively.
36
37       See also the Introduction to SAX2.
38
39       See also QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver,
40       QXmlErrorHandler, QXmlLexicalHandler, and XML.
41

MEMBER FUNCTION DOCUMENTATION

QString QXmlDTDHandler::errorString () [pure virtual]

44       The reader calls this function to get an error string if any of the
45       handler functions returns FALSE.
46

bool QXmlDTDHandler::notationDecl ( const QString & name, const QString &

48       publicId, const QString & systemId ) [pure virtual]
49       The reader calls this function when it has parsed a notation
50       declaration.
51
52       The argument name is the notation name, publicId is the notation's
53       public identifier and systemId is the notation's system identifier.
54
55       If this function returns FALSE the reader stops parsing and reports an
56       error. The reader uses the function errorString() to get the error
57       message.
58

bool QXmlDTDHandler::unparsedEntityDecl ( const QString & name, const QString

60       & publicId, const QString & systemId, const QString & notationName )
61       [pure virtual]
62       The reader calls this function when it finds an unparsed entity
63       declaration.
64
65       The argument name is the unparsed entity's name, publicId is the
66       entity's public identifier, systemId is the entity's system identifier
67       and notationName is the name of the associated notation.
68
69       If this function returns FALSE the reader stops parsing and reports an
70       error. The reader uses the function errorString() to get the error
71       message.
72
73

SEE ALSO

75       http://doc.trolltech.com/qxmldtdhandler.html
76       http://www.trolltech.com/faq/tech.html
77
79       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
80       license file included in the distribution for a complete license
81       statement.
82

AUTHOR

84       Generated automatically from the source code.
85

BUGS

87       If you find a bug in Qt, please report it as described in
88       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
89       help you. Thank you.
90
91       The definitive Qt documentation is provided in HTML format; it is
92       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
93       web browser. This man page is provided as a convenience for those users
94       who prefer man pages, although this format is not officially supported
95       by Trolltech.
96
97       If you find errors in this manual page, please report them to qt-
98       bugs@trolltech.com.  Please include the name of the manual page
99       (qxmldtdhandler.3qt) and the Qt version (3.3.8).
100
101
102
103Trolltech AS                    2 February 2007            QXmlDTDHandler(3qt)
Impressum