~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qdomentityreference.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/xml/qdom.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: QDomEntityReference Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QDomEntityReference Class Reference</h1>
 
21
<p>The QDomEntityReference class represents an XML entity reference. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QDomEntityReference&gt;</pre><p>Part of the <a href="qtxml.html">QtXml</a> module.</p>
 
23
<p>Inherits <a href="qdomnode.html">QDomNode</a>.</p>
 
24
<p><b>Note:</b> All the functions in this class are <a href="threads.html#reentrant">reentrant</a>.</p>
 
25
<ul>
 
26
<li><a href="qdomentityreference-members.html">List of all members, including inherited members</a></li>
 
27
</ul>
 
28
<a name="public-functions"></a>
 
29
<h3>Public Functions</h3>
 
30
<ul>
 
31
<li><div class="fn"/><b><a href="qdomentityreference.html#QDomEntityReference">QDomEntityReference</a></b> ()</li>
 
32
<li><div class="fn"/><b><a href="qdomentityreference.html#QDomEntityReference-2">QDomEntityReference</a></b> ( const QDomEntityReference &amp; <i>x</i> )</li>
 
33
<li><div class="fn"/>QDomNode::NodeType <b><a href="qdomentityreference.html#nodeType">nodeType</a></b> () const</li>
 
34
<li><div class="fn"/>QDomEntityReference &amp; <b><a href="qdomentityreference.html#operator-eq">operator=</a></b> ( const QDomEntityReference &amp; <i>x</i> )</li>
 
35
</ul>
 
36
<ul>
 
37
<li><div class="fn"/>63 public functions inherited from <a href="qdomnode.html#public-functions">QDomNode</a></li>
 
38
</ul>
 
39
<a name="details"></a>
 
40
<hr />
 
41
<h2>Detailed Description</h2>
 
42
<p>The QDomEntityReference class represents an XML entity reference.</p>
 
43
<p>A QDomEntityReference object may be inserted into the DOM tree when an entity reference is in the source document, or when the user wishes to insert an entity reference.</p>
 
44
<p>Note that character references and references to predefined entities are expanded by the XML processor so that characters are represented by their Unicode equivalent rather than by an entity reference.</p>
 
45
<p>Moreover, the XML processor may completely expand references to entities while building the DOM tree, instead of providing QDomEntityReference objects.</p>
 
46
<p>If it does provide such objects, then for a given entity reference node, it may be that there is no entity node representing the referenced entity; but if such an entity exists, then the child list of the entity reference node is the same as that of the entity node. As with the entity node, all descendents of the entity reference are read-only.</p>
 
47
<p>For further information about the Document Object Model see <a href="http://www.w3.org/TR/REC-DOM-Level-1/">Level 1</a> and <a href="http://www.w3.org/TR/DOM-Level-2-Core/">Level 2 Core</a>. For a more general introduction of the DOM implementation see the <a href="qdomdocument.html">QDomDocument</a> documentation.</p>
 
48
<hr />
 
49
<h2>Member Function Documentation</h2>
 
50
<h3 class="fn"><a name="QDomEntityReference"></a>QDomEntityReference::QDomEntityReference ()</h3>
 
51
<p>Constructs an empty entity reference. Use <a href="qdomdocument.html#createEntityReference">QDomDocument::createEntityReference</a>() to create a entity reference with content.</p>
 
52
<h3 class="fn"><a name="QDomEntityReference-2"></a>QDomEntityReference::QDomEntityReference ( const QDomEntityReference &amp; <i>x</i> )</h3>
 
53
<p>Constructs a copy of <i>x</i>.</p>
 
54
<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>
 
55
<h3 class="fn"><a name="nodeType"></a><a href="qdomnode.html#NodeType-enum">QDomNode::NodeType</a> QDomEntityReference::nodeType () const</h3>
 
56
<p>Returns <tt>EntityReference</tt>.</p>
 
57
<h3 class="fn"><a name="operator-eq"></a>QDomEntityReference &amp; QDomEntityReference::operator= ( const QDomEntityReference &amp; <i>x</i> )</h3>
 
58
<p>Assigns <i>x</i> to this entity reference.</p>
 
59
<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>
 
60
<p /><address><hr /><div align="center">
 
61
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
62
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
63
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
64
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
65
</tr></table></div></address></body>
 
66
</html>