6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">  </td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QDomEntityReference Class Reference<br /><sup><sup>[<a href="qtxml.html">QtXml</a> module]</sup></sup></h1><p>The QDomEntityReference class represents an XML entity reference. <a href="#details">More...</a></p>
10
<p>Inherits <a href="qdomnode.html">QDomNode</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qdomentityreference.html#QDomEntityReference">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qdomentityreference.html#QDomEntityReference-2">__init__</a></b> (<i>self</i>, QDomEntityReference)</li><li><div class="fn" />QDomNode.NodeType <b><a href="qdomentityreference.html#nodeType">nodeType</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QDomEntityReference class represents an XML entity reference.</p>
11
<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>
12
<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>
13
<p>Moreover, the XML processor may completely expand references to entities while building the DOM tree, instead of providing QDomEntityReference objects.</p>
14
<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 descendants of the entity reference are read-only.</p>
15
<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>
16
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QDomEntityReference" />QDomEntityReference.__init__ (<i>self</i>)</h3><p>Constructs an empty entity reference. Use <a href="qdomdocument.html#createEntityReference">QDomDocument.createEntityReference</a>() to create a entity reference with content.</p>
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">  </td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QDomEntityReference Class Reference<br /><sup><sup>[<a href="qtxml.html">QtXml</a> module]</sup></sup></h1><p>The QDomEntityReference class represents an XML entity
10
reference. <a href="#details">More...</a></p>
12
<p>Inherits <a href="qdomnode.html">QDomNode</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qdomentityreference.html#QDomEntityReference">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qdomentityreference.html#QDomEntityReference-2">__init__</a></b> (<i>self</i>, QDomEntityReference)</li><li><div class="fn" />QDomNode.NodeType <b><a href="qdomentityreference.html#nodeType">nodeType</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QDomEntityReference class represents an XML entity
14
<p>A QDomEntityReference object may be inserted into the DOM tree
15
when an entity reference is in the source document, or when the
16
user wishes to insert an entity reference.</p>
17
<p>Note that character references and references to predefined
18
entities are expanded by the XML processor so that characters are
19
represented by their Unicode equivalent rather than by an entity
21
<p>Moreover, the XML processor may completely expand references to
22
entities while building the DOM tree, instead of providing
23
QDomEntityReference objects.</p>
24
<p>If it does provide such objects, then for a given entity
25
reference node, it may be that there is no entity node representing
26
the referenced entity; but if such an entity exists, then the child
27
list of the entity reference node is the same as that of the entity
28
node. As with the entity node, all descendants of the entity
29
reference are read-only.</p>
30
<p>For further information about the Document Object Model see
31
<a href="http://www.w3.org/TR/REC-DOM-Level-1/">Level 1</a> and
32
<a href="http://www.w3.org/TR/DOM-Level-2-Core/">Level 2 Core</a>.
33
For a more general introduction of the DOM implementation see the
34
<a href="qdomdocument.html">QDomDocument</a> documentation.</p>
35
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QDomEntityReference" />QDomEntityReference.__init__ (<i>self</i>)</h3><p>Constructs an empty entity reference. Use <a href="qdomdocument.html#createEntityReference">QDomDocument.createEntityReference</a>()
36
to create a entity reference with content.</p>
17
39
<h3 class="fn"><a name="QDomEntityReference-2" />QDomEntityReference.__init__ (<i>self</i>, <a href="qdomentityreference.html">QDomEntityReference</a>)</h3><p>Constructs a copy of <i>x</i>.</p>
18
<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>
19
<a name="//apple_ref/cpp/instm/QDomEntityReference/nodeType" />
40
<p>The data of the copy is shared (shallow copy): modifying one
41
node will also change the other. If you want to make a deep copy,
42
use <a href="qdomnode.html#cloneNode">cloneNode</a>().</p>
20
45
<h3 class="fn"><a name="nodeType" /><a href="qdomnode.html#NodeType-enum">QDomNode.NodeType</a> QDomEntityReference.nodeType (<i>self</i>)</h3><p>Returns <tt>EntityReference</tt>.</p>
21
<a name="//apple_ref/cpp/instm/QDomEntityReference/operator=" />
22
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.7.7 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt 4.6.3</td></tr></table></div></address></body></html>
b'\\ No newline at end of file'
48
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.8.1 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt 4.7.0</td></tr></table></div></address></body></html>
b'\\ No newline at end of file'