1QDomEntityReference(3qt) QDomEntityReference(3qt)
2
3
4
6 QDomEntityReference - Represents an XML entity reference
7
9 All the functions in this class are reentrant when Qt is built with
10 thread support.</p>
11
12 #include <qdom.h>
13
14 Inherits QDomNode.
15
16 Public Members
17 QDomEntityReference ()
18 QDomEntityReference ( const QDomEntityReference & x )
19 QDomEntityReference & operator= ( const QDomEntityReference & x )
20 ~QDomEntityReference ()
21 virtual QDomNode::NodeType nodeType () const
22 virtual bool isEntityReference () const
23
25 The QDomEntityReference class represents an XML entity reference.
26
27 A QDomEntityReference object may be inserted into the DOM tree when an
28 entity reference is in the source document, or when the user wishes to
29 insert an entity reference.
30
31 Note that character references and references to predefined entities
32 are expanded by the XML processor so that characters are represented by
33 their Unicode equivalent rather than by an entity reference.
34
35 Moreover, the XML processor may completely expand references to
36 entities while building the DOM tree, instead of providing
37 QDomEntityReference objects.
38
39 If it does provide such objects, then for a given entity reference
40 node, it may be that there is no entity node representing the
41 referenced entity; but if such an entity exists, then the child list of
42 the entity reference node is the same as that of the entity node. As
43 with the entity node, all descendents of the entity reference are read-
44 only.
45
46 For further information about the Document Object Model see
47 http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
48 Level-2-Core/. For a more general introduction of the DOM
49 implementation see the QDomDocument documentation.
50
51 See also XML.
52
55 Constructs an empty entity reference. Use
56 QDomDocument::createEntityReference() to create a entity reference with
57 content.
58
60 Constructs a copy of x.
61
62 The data of the copy is shared (shallow copy): modifying one node will
63 also change the other. If you want to make a deep copy, use
64 cloneNode().
65
67 Destroys the object and frees its resources.
68
70 Returns TRUE.
71
72 Reimplemented from QDomNode.
73
75 Returns EntityReference.
76
77 Reimplemented from QDomNode.
78
80 QDomEntityReference & x )
81 Assigns x to this entity reference.
82
83 The data of the copy is shared (shallow copy): modifying one node will
84 also change the other. If you want to make a deep copy, use
85 cloneNode().
86
87
89 http://doc.trolltech.com/qdomentityreference.html
90 http://www.trolltech.com/faq/tech.html
91
93 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
94 license file included in the distribution for a complete license
95 statement.
96
98 Generated automatically from the source code.
99
101 If you find a bug in Qt, please report it as described in
102 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
103 help you. Thank you.
104
105 The definitive Qt documentation is provided in HTML format; it is
106 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
107 web browser. This man page is provided as a convenience for those users
108 who prefer man pages, although this format is not officially supported
109 by Trolltech.
110
111 If you find errors in this manual page, please report them to qt-
112 bugs@trolltech.com. Please include the name of the manual page
113 (qdomentityreference.3qt) and the Qt version (3.3.8).
114
115
116
117Trolltech AS 2 February 2007 QDomEntityReference(3qt)