1QDomDocumentType(3qt) QDomDocumentType(3qt)
2
3
4
6 QDomDocumentType - The representation of the DTD in the document tree
7
9 All the functions in this class are reentrant when Qt is built with
10 thread support.</p>
11
12 #include <qdom.h>
13
14 Inherits QDomNode.
15
16 Public Members
17 QDomDocumentType ()
18 QDomDocumentType ( const QDomDocumentType & n )
19 QDomDocumentType & operator= ( const QDomDocumentType & n )
20 ~QDomDocumentType ()
21 virtual QString name () const
22 virtual QDomNamedNodeMap entities () const
23 virtual QDomNamedNodeMap notations () const
24 virtual QString publicId () const
25 virtual QString systemId () const
26 virtual QString internalSubset () const
27 virtual QDomNode::NodeType nodeType () const
28 virtual bool isDocumentType () const
29
31 The QDomDocumentType class is the representation of the DTD in the
32 document tree.
33
34 The QDomDocumentType class allows read-only access to some of the data
35 structures in the DTD: it can return a map of all entities() and
36 notations(). In addition the function name() returns the name of the
37 document type as specified in the <!DOCTYPE name> tag. This class also
38 provides the publicId(), systemId() and internalSubset() functions.
39
40 See also QDomDocument and XML.
41
44 Creates an empty QDomDocumentType object.
45
47 Constructs a copy of n.
48
49 The data of the copy is shared (shallow copy): modifying one node will
50 also change the other. If you want to make a deep copy, use
51 cloneNode().
52
54 Destroys the object and frees its resources.
55
57 Returns a map of all entities described in the DTD.
58
60 Returns the internal subset of the document type or QString::null if
61 there is no internal subset.
62
63 See also publicId() and systemId().
64
66 This function overloads QDomNode::isDocumentType().
67
68 See also nodeType() and QDomNode::toDocumentType().
69
70 Reimplemented from QDomNode.
71
73 Returns the name of the document type as specified in the <!DOCTYPE
74 name> tag.
75
76 See also nodeName().
77
79 Returns DocumentTypeNode.
80
81 See also isDocumentType() and QDomNode::toDocumentType().
82
83 Reimplemented from QDomNode.
84
86 Returns a map of all notations described in the DTD.
87
89 Assigns n to this document type.
90
91 The data of the copy is shared (shallow copy): modifying one node will
92 also change the other. If you want to make a deep copy, use
93 cloneNode().
94
96 Returns the public identifier of the external DTD subset or
97 QString::null if there is no public identifier.
98
99 See also systemId(), internalSubset(), and
100 QDomImplementation::createDocumentType().
101
103 Returns the system identifier of the external DTD subset or
104 QString::null if there is no system identifier.
105
106 See also publicId(), internalSubset(), and
107 QDomImplementation::createDocumentType().
108
109
111 http://doc.trolltech.com/qdomdocumenttype.html
112 http://www.trolltech.com/faq/tech.html
113
115 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
116 license file included in the distribution for a complete license
117 statement.
118
120 Generated automatically from the source code.
121
123 If you find a bug in Qt, please report it as described in
124 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
125 help you. Thank you.
126
127 The definitive Qt documentation is provided in HTML format; it is
128 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
129 web browser. This man page is provided as a convenience for those users
130 who prefer man pages, although this format is not officially supported
131 by Trolltech.
132
133 If you find errors in this manual page, please report them to qt-
134 bugs@trolltech.com. Please include the name of the manual page
135 (qdomdocumenttype.3qt) and the Qt version (3.3.8).
136
137
138
139Trolltech AS 2 February 2007 QDomDocumentType(3qt)