1QDomEntity(3qt)                                                QDomEntity(3qt)
2
3
4

NAME

6       QDomEntity - Represents an XML entity
7

SYNOPSIS

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       QDomEntity ()
18       QDomEntity ( const QDomEntity & x )
19       QDomEntity & operator= ( const QDomEntity & x )
20       ~QDomEntity ()
21       virtual QString publicId () const
22       virtual QString systemId () const
23       virtual QString notationName () const
24       virtual QDomNode::NodeType nodeType () const
25       virtual bool isEntity () const
26

DESCRIPTION

28       The QDomEntity class represents an XML entity.
29
30       This class represents an entity in an XML document, either parsed or
31       unparsed. Note that this models the entity itself not the entity
32       declaration.
33
34       DOM does not support editing entity nodes; if a user wants to make
35       changes to the contents of an entity, every related QDomEntityReference
36       node must be replaced in the DOM tree by a clone of the entity's
37       contents, and then the desired changes must be made to each of the
38       clones instead. All the descendents of an entity node are read-only.
39
40       An entity node does not have any parent.
41
42       You can access the entity's publicId(), systemId() and notationName()
43       when available.
44
45       For further information about the Document Object Model see
46       http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
47       Level-2-Core/. For a more general introduction of the DOM
48       implementation see the QDomDocument documentation.
49
50       See also XML.
51

MEMBER FUNCTION DOCUMENTATION

QDomEntity::QDomEntity ()

54       Constructs an empty entity.
55

QDomEntity::QDomEntity ( const QDomEntity & x )

57       Constructs a copy of x.
58
59       The data of the copy is shared (shallow copy): modifying one node will
60       also change the other. If you want to make a deep copy, use
61       cloneNode().
62

QDomEntity::~QDomEntity ()

64       Destroys the object and frees its resources.
65

bool QDomEntity::isEntity () const [virtual]

67       Returns TRUE.
68
69       Reimplemented from QDomNode.
70

QDomNode::NodeType QDomEntity::nodeType () const [virtual]

72       Returns EntityNode.
73
74       Reimplemented from QDomNode.
75

QString QDomEntity::notationName () const [virtual]

77       For unparsed entities this function returns the name of the notation
78       for the entity. For parsed entities this function returns
79       QString::null.
80

QDomEntity & QDomEntity::operator= ( const QDomEntity & x )

82       Assigns x to this DOM entity.
83
84       The data of the copy is shared (shallow copy): modifying one node will
85       also change the other. If you want to make a deep copy, use
86       cloneNode().
87

QString QDomEntity::publicId () const [virtual]

89       Returns the public identifier associated with this entity. If the
90       public identifier was not specified QString::null is returned.
91

QString QDomEntity::systemId () const [virtual]

93       Returns the system identifier associated with this entity. If the
94       system identifier was not specified QString::null is returned.
95
96

SEE ALSO

98       http://doc.trolltech.com/qdomentity.html
99       http://www.trolltech.com/faq/tech.html
100
102       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
103       license file included in the distribution for a complete license
104       statement.
105

AUTHOR

107       Generated automatically from the source code.
108

BUGS

110       If you find a bug in Qt, please report it as described in
111       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
112       help you. Thank you.
113
114       The definitive Qt documentation is provided in HTML format; it is
115       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
116       web browser. This man page is provided as a convenience for those users
117       who prefer man pages, although this format is not officially supported
118       by Trolltech.
119
120       If you find errors in this manual page, please report them to qt-
121       bugs@trolltech.com.  Please include the name of the manual page
122       (qdomentity.3qt) and the Qt version (3.3.8).
123
124
125
126Trolltech AS                    2 February 2007                QDomEntity(3qt)
Impressum