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

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

reference documentation added

File size: 5.7 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:4952 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QDomCDATASection 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>QDomCDATASection Class Reference<br><small>[<a href="xml.html">XML module</a>]</small></h1>
33
34<p>The QDomCDATASection class represents an XML CDATA section.
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="qdomtext.html">QDomText</a>.
39<p><a href="qdomcdatasection-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn><a href="#QDomCDATASection"><b>QDomCDATASection</b></a> ()</li>
43<li class=fn><a href="#QDomCDATASection-2"><b>QDomCDATASection</b></a> ( const&nbsp;QDomCDATASection&nbsp;&amp;&nbsp;x )</li>
44<li class=fn>QDomCDATASection &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;QDomCDATASection&nbsp;&amp;&nbsp;x )</li>
45<li class=fn><a href="#~QDomCDATASection"><b>~QDomCDATASection</b></a> ()</li>
46<li class=fn>virtual QDomNode::NodeType <a href="#nodeType"><b>nodeType</b></a> () const</li>
47<li class=fn>virtual bool <a href="#isCDATASection"><b>isCDATASection</b></a> () const</li>
48</ul>
49<hr><a name="details"></a><h2>Detailed Description</h2>
50
51
52
53The QDomCDATASection class represents an XML CDATA section.
54
55<p>
56
57<p> CDATA sections are used to escape blocks of text containing
58characters that would otherwise be regarded as markup. The only
59delimiter that is recognized in a CDATA section is the "]]&gt;"
60string that terminates the CDATA section. CDATA sections cannot be
61nested. Their primary purpose is for including material such as
62XML fragments, without needing to escape all the delimiters.
63<p> Adjacent QDomCDATASection nodes are not merged by the
64<a href="qdomnode.html#normalize">QDomNode::normalize</a>() function.
65<p> For further information about the Document Object Model see
66<a href="http://www.w3.org/TR/REC-DOM-Level-1/">http://www.w3.org/TR/REC-DOM-Level-1/</a> and
67<a href="http://www.w3.org/TR/DOM-Level-2-Core/">http://www.w3.org/TR/DOM-Level-2-Core/</a>.
68For a more general introduction of the DOM implementation see the
69<a href="qdomdocument.html">QDomDocument</a> documentation.
70<p>See also <a href="xml-tools.html">XML</a>.
71
72<hr><h2>Member Function Documentation</h2>
73<h3 class=fn><a name="QDomCDATASection"></a>QDomCDATASection::QDomCDATASection ()
74</h3>
75Constructs an empty CDATA section. To create a CDATA section with
76content, use the <a href="qdomdocument.html#createCDATASection">QDomDocument::createCDATASection</a>() function.
77
78<h3 class=fn><a name="QDomCDATASection-2"></a>QDomCDATASection::QDomCDATASection ( const&nbsp;<a href="qdomcdatasection.html">QDomCDATASection</a>&nbsp;&amp;&nbsp;x )
79</h3>
80Constructs a copy of <em>x</em>.
81<p> The data of the copy is shared (shallow copy): modifying one node
82will also change the other. If you want to make a <a href="shclass.html#deep-copy">deep copy</a>, use
83<a href="qdomnode.html#cloneNode">cloneNode</a>().
84
85<h3 class=fn><a name="~QDomCDATASection"></a>QDomCDATASection::~QDomCDATASection ()
86</h3>
87Destroys the object and frees its resources.
88
89<h3 class=fn>bool <a name="isCDATASection"></a>QDomCDATASection::isCDATASection () const<tt> [virtual]</tt>
90</h3>
91Returns TRUE.
92
93<p>Reimplemented from <a href="qdomnode.html#isCDATASection">QDomNode</a>.
94<h3 class=fn><a href="qdomnode.html#NodeType-enum">QDomNode::NodeType</a> <a name="nodeType"></a>QDomCDATASection::nodeType () const<tt> [virtual]</tt>
95</h3>
96Returns <tt>CDATASection</tt>.
97
98<p>Reimplemented from <a href="qdomtext.html#nodeType">QDomText</a>.
99<h3 class=fn><a href="qdomcdatasection.html">QDomCDATASection</a>&nbsp;&amp; <a name="operator-eq"></a>QDomCDATASection::operator= ( const&nbsp;<a href="qdomcdatasection.html">QDomCDATASection</a>&nbsp;&amp;&nbsp;x )
100</h3>
101Assigns <em>x</em> to this CDATA section.
102<p> The data of the copy is shared (shallow copy): modifying one node
103will also change the other. If you want to make a <a href="shclass.html#deep-copy">deep copy</a>, use
104<a href="qdomnode.html#cloneNode">cloneNode</a>().
105
106<!-- eof -->
107<hr><p>
108This file is part of the <a href="index.html">Qt toolkit</a>.
109Copyright &copy; 1995-2007
110<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
111<table width=100% cellspacing=0 border=0><tr>
112<td>Copyright &copy; 2007
113<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
114<td align=right><div align=right>Qt 3.3.8</div>
115</table></div></address></body>
116</html>
Note: See TracBrowser for help on using the repository browser.