1QDomImplementation(3qt) QDomImplementation(3qt)
2
3
4
6 QDomImplementation - Information about the features of the DOM
7 implementation
8
10 All the functions in this class are reentrant when Qt is built with
11 thread support.</p>
12
13 #include <qdom.h>
14
15 Public Members
16 QDomImplementation ()
17 QDomImplementation ( const QDomImplementation & x )
18 virtual ~QDomImplementation ()
19 QDomImplementation & operator= ( const QDomImplementation & x )
20 bool operator== ( const QDomImplementation & x ) const
21 bool operator!= ( const QDomImplementation & x ) const
22 virtual bool hasFeature ( const QString & feature, const QString &
23 version )
24 virtual QDomDocumentType createDocumentType ( const QString & qName,
25 const QString & publicId, const QString & systemId )
26 virtual QDomDocument createDocument ( const QString & nsURI, const
27 QString & qName, const QDomDocumentType & doctype )
28 bool isNull ()
29
31 The QDomImplementation class provides information about the features of
32 the DOM implementation.
33
34 This class describes the features that are supported by the DOM
35 implementation. Currently the XML subset of DOM Level 1 and DOM Level 2
36 Core are supported.
37
38 Normally you will use the function QDomDocument::implementation() to
39 get the implementation object.
40
41 You can create a new document type with createDocumentType() and a new
42 document with createDocument().
43
44 For further information about the Document Object Model see
45 http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
46 Level-2-Core/. For a more general introduction of the DOM
47 implementation see the QDomDocument documentation.
48
49 See also hasFeature() and XML.
50
53 Constructs a QDomImplementation object.
54
56 Constructs a copy of x.
57
59 Destroys the object and frees its resources.
60
62 QString & qName, const QDomDocumentType & doctype ) [virtual]
63 Creates a DOM document with the document type doctype. This function
64 also adds a root element node with the qualified name qName and the
65 namespace URI nsURI.
66
68 qName, const QString & publicId, const QString & systemId ) [virtual]
69 Creates a document type node for the name qName.
70
71 publicId specifies the public identifier of the external subset. If you
72 specify QString::null as the publicId, this means that the document
73 type has no public identifier.
74
75 systemId specifies the system identifier of the external subset. If you
76 specify QString::null as the systemId, this means that the document
77 type has no system identifier.
78
79 Since you cannot have a public identifier without a system identifier,
80 the public identifier is set to QString::null if there is no system
81 identifier.
82
83 DOM level 2 does not support any other document type declaration
84 features.
85
86 The only way you can use a document type that was created this way, is
87 in combination with the createDocument() function to create a
88 QDomDocument with this document type.
89
90 See also createDocument().
91
93 version ) [virtual]
94 The function returns TRUE if QDom implements the requested version of a
95 feature; otherwise returns FALSE.
96
97 The currently supported features and their versions: <center>.nf
98
99 </center>
100
102 Returns FALSE if the object was created by
103 QDomDocument::implementation(); otherwise returns TRUE.
104
106 Returns TRUE if x and this DOM implementation object were created from
107 different QDomDocuments; otherwise returns FALSE.
108
110 & x )
111 Assigns x to this DOM implementation.
112
114 Returns TRUE if x and this DOM implementation object were created from
115 the same QDomDocument; otherwise returns FALSE.
116
117
119 http://doc.trolltech.com/qdomimplementation.html
120 http://www.trolltech.com/faq/tech.html
121
123 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
124 license file included in the distribution for a complete license
125 statement.
126
128 Generated automatically from the source code.
129
131 If you find a bug in Qt, please report it as described in
132 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
133 help you. Thank you.
134
135 The definitive Qt documentation is provided in HTML format; it is
136 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
137 web browser. This man page is provided as a convenience for those users
138 who prefer man pages, although this format is not officially supported
139 by Trolltech.
140
141 If you find errors in this manual page, please report them to qt-
142 bugs@trolltech.com. Please include the name of the manual page
143 (qdomimplementation.3qt) and the Qt version (3.3.8).
144
145
146
147Trolltech AS 2 February 2007 QDomImplementation(3qt)