source: trunk/doc/html/qdomimplementation.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 9.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/xml/qdom.cpp:609 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QDomImplementation Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QDomImplementation Class Reference<br><small>[<a href="xml.html">XML module</a>]</small></h1>
33
34<p>The QDomImplementation class provides information about the
35features of the DOM implementation.
36<a href="#details">More...</a>
37<p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when Qt is built with thread support.</p>
38<p><tt>#include &lt;<a href="qdom-h.html">qdom.h</a>&gt;</tt>
39<p><a href="qdomimplementation-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn><a href="#QDomImplementation"><b>QDomImplementation</b></a> ()</li>
43<li class=fn><a href="#QDomImplementation-2"><b>QDomImplementation</b></a> ( const&nbsp;QDomImplementation&nbsp;&amp;&nbsp;x )</li>
44<li class=fn>virtual <a href="#~QDomImplementation"><b>~QDomImplementation</b></a> ()</li>
45<li class=fn>QDomImplementation &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;QDomImplementation&nbsp;&amp;&nbsp;x )</li>
46<li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const&nbsp;QDomImplementation&nbsp;&amp;&nbsp;x ) const</li>
47<li class=fn>bool <a href="#operator!-eq"><b>operator!=</b></a> ( const&nbsp;QDomImplementation&nbsp;&amp;&nbsp;x ) const</li>
48<li class=fn>virtual bool <a href="#hasFeature"><b>hasFeature</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;feature, const&nbsp;QString&nbsp;&amp;&nbsp;version )</li>
49<li class=fn>virtual QDomDocumentType <a href="#createDocumentType"><b>createDocumentType</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;qName, const&nbsp;QString&nbsp;&amp;&nbsp;publicId, const&nbsp;QString&nbsp;&amp;&nbsp;systemId )</li>
50<li class=fn>virtual QDomDocument <a href="#createDocument"><b>createDocument</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;nsURI, const&nbsp;QString&nbsp;&amp;&nbsp;qName, const&nbsp;QDomDocumentType&nbsp;&amp;&nbsp;doctype )</li>
51<li class=fn>bool <a href="#isNull"><b>isNull</b></a> ()</li>
52</ul>
53<hr><a name="details"></a><h2>Detailed Description</h2>
54
55
56
57The QDomImplementation class provides information about the
58features of the DOM implementation.
59
60<p>
61
62<p> This class describes the features that are supported by the DOM
63implementation. Currently the XML subset of DOM Level 1 and DOM
64Level 2 Core are supported.
65<p> Normally you will use the function <a href="qdomdocument.html#implementation">QDomDocument::implementation</a>()
66to get the implementation object.
67<p> You can create a new document type with <a href="#createDocumentType">createDocumentType</a>() and a
68new document with <a href="#createDocument">createDocument</a>().
69<p> For further information about the Document Object Model see <a href="http://www.w3.org/TR/REC-DOM-Level-1/">http://www.w3.org/TR/REC-DOM-Level-1/</a> and <a href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/</a>. For a more general
70introduction of the DOM implementation see the <a href="qdomdocument.html">QDomDocument</a>
71documentation.
72<p> <p>See also <a href="#hasFeature">hasFeature</a>() and <a href="xml-tools.html">XML</a>.
73
74<hr><h2>Member Function Documentation</h2>
75<h3 class=fn><a name="QDomImplementation"></a>QDomImplementation::QDomImplementation ()
76</h3>
77Constructs a QDomImplementation object.
78
79<h3 class=fn><a name="QDomImplementation-2"></a>QDomImplementation::QDomImplementation ( const&nbsp;<a href="qdomimplementation.html">QDomImplementation</a>&nbsp;&amp;&nbsp;x )
80</h3>
81Constructs a copy of <em>x</em>.
82
83<h3 class=fn><a name="~QDomImplementation"></a>QDomImplementation::~QDomImplementation ()<tt> [virtual]</tt>
84</h3>
85Destroys the object and frees its resources.
86
87<h3 class=fn><a href="qdomdocument.html">QDomDocument</a> <a name="createDocument"></a>QDomImplementation::createDocument ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;qName, const&nbsp;<a href="qdomdocumenttype.html">QDomDocumentType</a>&nbsp;&amp;&nbsp;doctype )<tt> [virtual]</tt>
88</h3>
89Creates a DOM document with the document type <em>doctype</em>. This
90function also adds a root element node with the qualified name <em>qName</em> and the namespace URI <em>nsURI</em>.
91
92<h3 class=fn><a href="qdomdocumenttype.html">QDomDocumentType</a> <a name="createDocumentType"></a>QDomImplementation::createDocumentType ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;qName, const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;publicId, const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;systemId )<tt> [virtual]</tt>
93</h3>
94Creates a document type node for the name <em>qName</em>.
95<p> <em>publicId</em> specifies the public identifier of the external
96subset. If you specify <a href="qstring.html#QString-null">QString::null</a> as the <em>publicId</em>, this
97means that the document type has no public identifier.
98<p> <em>systemId</em> specifies the system identifier of the external
99subset. If you specify QString::null as the <em>systemId</em>, this
100means that the document type has no system identifier.
101<p> Since you cannot have a public identifier without a system
102identifier, the public identifier is set to QString::null if there
103is no system identifier.
104<p> DOM level 2 does not support any other document type declaration
105features.
106<p> The only way you can use a document type that was created this
107way, is in combination with the <a href="#createDocument">createDocument</a>() function to
108create a <a href="qdomdocument.html">QDomDocument</a> with this document type.
109<p> <p>See also <a href="#createDocument">createDocument</a>().
110
111<h3 class=fn>bool <a name="hasFeature"></a>QDomImplementation::hasFeature ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;feature, const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;version )<tt> [virtual]</tt>
112</h3>
113The function returns TRUE if QDom implements the requested <em>version</em> of a <em>feature</em>; otherwise returns FALSE.
114<p> The currently supported features and their versions:
115<center><table cellpadding="4" cellspacing="2" border="0">
116<tr bgcolor="#a2c511"> <th valign="top">Feature <th valign="top">Version
117<tr bgcolor="#f0f0f0"> <td valign="top">XML <td valign="top">1.0
118</table></center>
119
120<h3 class=fn>bool <a name="isNull"></a>QDomImplementation::isNull ()
121</h3>
122Returns FALSE if the object was created by
123<a href="qdomdocument.html#implementation">QDomDocument::implementation</a>(); otherwise returns TRUE.
124
125<h3 class=fn>bool <a name="operator!-eq"></a>QDomImplementation::operator!= ( const&nbsp;<a href="qdomimplementation.html">QDomImplementation</a>&nbsp;&amp;&nbsp;x ) const
126</h3>
127Returns TRUE if <em>x</em> and this DOM implementation object were
128created from different QDomDocuments; otherwise returns FALSE.
129
130<h3 class=fn><a href="qdomimplementation.html">QDomImplementation</a>&nbsp;&amp; <a name="operator-eq"></a>QDomImplementation::operator= ( const&nbsp;<a href="qdomimplementation.html">QDomImplementation</a>&nbsp;&amp;&nbsp;x )
131</h3>
132Assigns <em>x</em> to this DOM implementation.
133
134<h3 class=fn>bool <a name="operator-eq-eq"></a>QDomImplementation::operator== ( const&nbsp;<a href="qdomimplementation.html">QDomImplementation</a>&nbsp;&amp;&nbsp;x ) const
135</h3>
136Returns TRUE if <em>x</em> and this DOM implementation object were
137created from the same <a href="qdomdocument.html">QDomDocument</a>; otherwise returns FALSE.
138
139<!-- eof -->
140<hr><p>
141This file is part of the <a href="index.html">Qt toolkit</a>.
142Copyright &copy; 1995-2007
143<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
144<table width=100% cellspacing=0 border=0><tr>
145<td>Copyright &copy; 2007
146<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
147<td align=right><div align=right>Qt 3.3.8</div>
148</table></div></address></body>
149</html>
Note: See TracBrowser for help on using the repository browser.