3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/xml/dom/qdom.cpp -->
7
<title>Qt 4.5: QDomDocumentType Class Reference</title>
7
<title>Qt 4.6: QDomDocumentType Class Reference</title>
8
8
<link href="classic.css" rel="stylesheet" type="text/css" />
11
<a name="//apple_ref/cpp/cl//QDomDocumentType" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="namespaces.html"><font color="#004faf">All Namespaces</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QDomDocumentType Class Reference<br /><span class="small-subtitle">[<a href="qtxml.html">QtXml</a> module]</span>
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
15
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
16
</tr></table><h1 class="title">QDomDocumentType Class Reference<br /><span class="small-subtitle">[<a href="qtxml.html">QtXml</a> module]</span>
17
18
<p>The QDomDocumentType class is the representation of the DTD in the document tree. <a href="#details">More...</a></p>
18
<pre> #include <QDomDocumentType></pre><p>Inherits <a href="qdomnode.html">QDomNode</a>.</p>
19
<p><b>Note:</b> All the functions in this class are <a href="threads.html#reentrant">reentrant</a>.</p>
19
<pre> #include <QDomDocumentType></pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
20
<p>Inherits <a href="qdomnode.html">QDomNode</a>.</p>
21
<p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
21
23
<li><a href="qdomdocumenttype-members.html">List of all members, including inherited members</a></li>
23
26
<a name="public-functions"></a>
24
<h3>Public Functions</h3>
26
<li><div class="fn"></div><b><a href="qdomdocumenttype.html#QDomDocumentType">QDomDocumentType</a></b> ()</li>
27
<li><div class="fn"></div><b><a href="qdomdocumenttype.html#QDomDocumentType-2">QDomDocumentType</a></b> ( const QDomDocumentType & <i>n</i> )</li>
28
<li><div class="fn"></div>QDomNamedNodeMap <b><a href="qdomdocumenttype.html#entities">entities</a></b> () const</li>
29
<li><div class="fn"></div>QString <b><a href="qdomdocumenttype.html#internalSubset">internalSubset</a></b> () const</li>
30
<li><div class="fn"></div>QString <b><a href="qdomdocumenttype.html#name">name</a></b> () const</li>
31
<li><div class="fn"></div>QDomNode::NodeType <b><a href="qdomdocumenttype.html#nodeType">nodeType</a></b> () const</li>
32
<li><div class="fn"></div>QDomNamedNodeMap <b><a href="qdomdocumenttype.html#notations">notations</a></b> () const</li>
33
<li><div class="fn"></div>QString <b><a href="qdomdocumenttype.html#publicId">publicId</a></b> () const</li>
34
<li><div class="fn"></div>QString <b><a href="qdomdocumenttype.html#systemId">systemId</a></b> () const</li>
35
<li><div class="fn"></div>QDomDocumentType & <b><a href="qdomdocumenttype.html#operator-eq">operator=</a></b> ( const QDomDocumentType & <i>n</i> )</li>
38
<li><div class="fn"></div>66 public functions inherited from <a href="qdomnode.html#public-functions">QDomNode</a></li>
27
<h2>Public Functions</h2>
28
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
29
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#QDomDocumentType">QDomDocumentType</a></b> ()</td></tr>
30
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#QDomDocumentType-2">QDomDocumentType</a></b> ( const QDomDocumentType & <i>n</i> )</td></tr>
31
<tr><td class="memItemLeft" align="right" valign="top">QDomNamedNodeMap </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#entities">entities</a></b> () const</td></tr>
32
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#internalSubset">internalSubset</a></b> () const</td></tr>
33
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#name">name</a></b> () const</td></tr>
34
<tr><td class="memItemLeft" align="right" valign="top">QDomNode::NodeType </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#nodeType">nodeType</a></b> () const</td></tr>
35
<tr><td class="memItemLeft" align="right" valign="top">QDomNamedNodeMap </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#notations">notations</a></b> () const</td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#publicId">publicId</a></b> () const</td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#systemId">systemId</a></b> () const</td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top">QDomDocumentType & </td><td class="memItemRight" valign="bottom"><b><a href="qdomdocumenttype.html#operator-eq">operator=</a></b> ( const QDomDocumentType & <i>n</i> )</td></tr>
41
<li><div bar="2" class="fn"></div>66 public functions inherited from <a href="qdomnode.html#public-functions">QDomNode</a></li>
40
43
<a name="details"></a>
45
48
<p>See also <a href="qdomdocument.html">QDomDocument</a>.</p>
47
50
<h2>Member Function Documentation</h2>
51
<a name="//apple_ref/cpp/instm/QDomDocumentType/QDomDocumentType" />
48
52
<h3 class="fn"><a name="QDomDocumentType"></a>QDomDocumentType::QDomDocumentType ()</h3>
49
53
<p>Creates an empty <a href="qdomdocumenttype.html">QDomDocumentType</a> object.</p>
50
54
<h3 class="fn"><a name="QDomDocumentType-2"></a>QDomDocumentType::QDomDocumentType ( const QDomDocumentType & <i>n</i> )</h3>
51
55
<p>Constructs a copy of <i>n</i>.</p>
52
56
<p>The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use <a href="qdomnode.html#cloneNode">cloneNode</a>().</p>
57
<a name="//apple_ref/cpp/instm/QDomDocumentType/entities" />
53
58
<h3 class="fn"><a name="entities"></a><a href="qdomnamednodemap.html">QDomNamedNodeMap</a> QDomDocumentType::entities () const</h3>
54
59
<p>Returns a map of all entities described in the DTD.</p>
60
<a name="//apple_ref/cpp/instm/QDomDocumentType/internalSubset" />
55
61
<h3 class="fn"><a name="internalSubset"></a><a href="qstring.html">QString</a> QDomDocumentType::internalSubset () const</h3>
56
62
<p>Returns the internal subset of the document type or an empty string if there is no internal subset.</p>
57
63
<p>See also <a href="qdomdocumenttype.html#publicId">publicId</a>() and <a href="qdomdocumenttype.html#systemId">systemId</a>().</p>
64
<a name="//apple_ref/cpp/instm/QDomDocumentType/name" />
58
65
<h3 class="fn"><a name="name"></a><a href="qstring.html">QString</a> QDomDocumentType::name () const</h3>
59
66
<p>Returns the name of the document type as specified in the &lt;!DOCTYPE name&gt; tag.</p>
60
67
<p>See also <a href="qdomnode.html#nodeName">nodeName</a>().</p>
68
<a name="//apple_ref/cpp/instm/QDomDocumentType/nodeType" />
61
69
<h3 class="fn"><a name="nodeType"></a><a href="qdomnode.html#NodeType-enum">QDomNode::NodeType</a> QDomDocumentType::nodeType () const</h3>
62
70
<p>Returns <tt>DocumentTypeNode</tt>.</p>
63
71
<p>See also <a href="qdomnode.html#isDocumentType">isDocumentType</a>() and <a href="qdomnode.html#toDocumentType">QDomNode::toDocumentType</a>().</p>
72
<a name="//apple_ref/cpp/instm/QDomDocumentType/notations" />
64
73
<h3 class="fn"><a name="notations"></a><a href="qdomnamednodemap.html">QDomNamedNodeMap</a> QDomDocumentType::notations () const</h3>
65
74
<p>Returns a map of all notations described in the DTD.</p>
75
<a name="//apple_ref/cpp/instm/QDomDocumentType/publicId" />
66
76
<h3 class="fn"><a name="publicId"></a><a href="qstring.html">QString</a> QDomDocumentType::publicId () const</h3>
67
77
<p>Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.</p>
68
78
<p>See also <a href="qdomdocumenttype.html#systemId">systemId</a>(), <a href="qdomdocumenttype.html#internalSubset">internalSubset</a>(), and <a href="qdomimplementation.html#createDocumentType">QDomImplementation::createDocumentType</a>().</p>
79
<a name="//apple_ref/cpp/instm/QDomDocumentType/systemId" />
69
80
<h3 class="fn"><a name="systemId"></a><a href="qstring.html">QString</a> QDomDocumentType::systemId () const</h3>
70
81
<p>Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.</p>
71
82
<p>See also <a href="qdomdocumenttype.html#publicId">publicId</a>(), <a href="qdomdocumenttype.html#internalSubset">internalSubset</a>(), and <a href="qdomimplementation.html#createDocumentType">QDomImplementation::createDocumentType</a>().</p>
83
<a name="//apple_ref/cpp/instm/QDomDocumentType/operator=" />
72
84
<h3 class="fn"><a name="operator-eq"></a>QDomDocumentType & QDomDocumentType::operator= ( const QDomDocumentType & <i>n</i> )</h3>
73
85
<p>Assigns <i>n</i> to this document type.</p>
74
86
<p>The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use <a href="qdomnode.html#cloneNode">cloneNode</a>().</p>
75
87
<p /><address><hr /><div align="center">
76
88
<table width="100%" cellspacing="0" border="0"><tr class="address">
77
<td width="30%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
78
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
79
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
80
</tr></table></div></address></body>
89
<td width="40%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
90
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
91
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
92
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>