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

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

reference documentation added

File size: 5.8 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:5099 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QDomNotation 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>QDomNotation Class Reference<br><small>[<a href="xml.html">XML module</a>]</small></h1>
33
34<p>The QDomNotation class represents an XML notation.
35<a href="#details">More...</a>
36<p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when Qt is built with thread support.</p>
37<p><tt>#include &lt;<a href="qdom-h.html">qdom.h</a>&gt;</tt>
38<p>Inherits <a href="qdomnode.html">QDomNode</a>.
39<p><a href="qdomnotation-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn><a href="#QDomNotation"><b>QDomNotation</b></a> ()</li>
43<li class=fn><a href="#QDomNotation-2"><b>QDomNotation</b></a> ( const&nbsp;QDomNotation&nbsp;&amp;&nbsp;x )</li>
44<li class=fn>QDomNotation &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;QDomNotation&nbsp;&amp;&nbsp;x )</li>
45<li class=fn><a href="#~QDomNotation"><b>~QDomNotation</b></a> ()</li>
46<li class=fn>QString <a href="#publicId"><b>publicId</b></a> () const</li>
47<li class=fn>QString <a href="#systemId"><b>systemId</b></a> () const</li>
48<li class=fn>virtual QDomNode::NodeType <a href="#nodeType"><b>nodeType</b></a> () const</li>
49<li class=fn>virtual bool <a href="#isNotation"><b>isNotation</b></a> () const</li>
50</ul>
51<hr><a name="details"></a><h2>Detailed Description</h2>
52
53
54
55The QDomNotation class represents an XML notation.
56
57<p>
58
59<p> A notation either declares, by name, the format of an unparsed
60entity (see section 4.7 of the XML 1.0 specification), or is used
61for formal declaration of processing instruction targets (see
62section 2.6 of the XML 1.0 specification).
63<p> DOM does not support editing notation nodes; they are therefore
64read-only.
65<p> A notation node does not have any parent.
66<p> You can retrieve the <a href="#publicId">publicId</a>() and <a href="#systemId">systemId</a>() from a notation
67node.
68<p> For further information about the Document Object Model see
69<a href="http://www.w3.org/TR/REC-DOM-Level-1/">http://www.w3.org/TR/REC-DOM-Level-1/</a> and
70<a href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/</a>.
71For a more general introduction of the DOM implementation see the
72<a href="qdomdocument.html">QDomDocument</a> documentation.
73<p>See also <a href="xml-tools.html">XML</a>.
74
75<hr><h2>Member Function Documentation</h2>
76<h3 class=fn><a name="QDomNotation"></a>QDomNotation::QDomNotation ()
77</h3>
78Constructor.
79
80<h3 class=fn><a name="QDomNotation-2"></a>QDomNotation::QDomNotation ( const&nbsp;<a href="qdomnotation.html">QDomNotation</a>&nbsp;&amp;&nbsp;x )
81</h3>
82Constructs a copy of <em>x</em>.
83<p> The data of the copy is shared (shallow copy): modifying one node
84will also change the other. If you want to make a <a href="shclass.html#deep-copy">deep copy</a>, use
85<a href="qdomnode.html#cloneNode">cloneNode</a>().
86
87<h3 class=fn><a name="~QDomNotation"></a>QDomNotation::~QDomNotation ()
88</h3>
89Destroys the object and frees its resources.
90
91<h3 class=fn>bool <a name="isNotation"></a>QDomNotation::isNotation () const<tt> [virtual]</tt>
92</h3>
93Returns TRUE.
94
95<p>Reimplemented from <a href="qdomnode.html#isNotation">QDomNode</a>.
96<h3 class=fn><a href="qdomnode.html#NodeType-enum">QDomNode::NodeType</a> <a name="nodeType"></a>QDomNotation::nodeType () const<tt> [virtual]</tt>
97</h3>
98Returns <a href="qdomnode.html#NodeType-enum">NotationNode</a>.
99
100<p>Reimplemented from <a href="qdomnode.html#nodeType">QDomNode</a>.
101<h3 class=fn><a href="qdomnotation.html">QDomNotation</a>&nbsp;&amp; <a name="operator-eq"></a>QDomNotation::operator= ( const&nbsp;<a href="qdomnotation.html">QDomNotation</a>&nbsp;&amp;&nbsp;x )
102</h3>
103Assigns <em>x</em> to this DOM notation.
104<p> The data of the copy is shared (shallow copy): modifying one node
105will also change the other. If you want to make a <a href="shclass.html#deep-copy">deep copy</a>, use
106<a href="qdomnode.html#cloneNode">cloneNode</a>().
107
108<h3 class=fn><a href="qstring.html">QString</a> <a name="publicId"></a>QDomNotation::publicId () const
109</h3>
110Returns the public identifier of this notation.
111
112<h3 class=fn><a href="qstring.html">QString</a> <a name="systemId"></a>QDomNotation::systemId () const
113</h3>
114Returns the system identifier of this notation.
115
116<!-- eof -->
117<hr><p>
118This file is part of the <a href="index.html">Qt toolkit</a>.
119Copyright &copy; 1995-2007
120<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
121<table width=100% cellspacing=0 border=0><tr>
122<td>Copyright &copy; 2007
123<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
124<td align=right><div align=right>Qt 3.3.8</div>
125</table></div></address></body>
126</html>
Note: See TracBrowser for help on using the repository browser.