.TH "DOM::Entity" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::Entity \- This interface represents an entity, either parsed or unparsed, in an XML document.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <dom_xml.h>\fP
.PP
Inherits \fBDOM::Node\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBEntity\fP (const \fBEntity\fP &other)"
.br
.ti -1c
.RI "\fBEntity\fP (const \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBEntity\fP & \fBoperator=\fP (const \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBEntity\fP & \fBoperator=\fP (const \fBEntity\fP &other)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBpublicId\fP () const "
.br
.ti -1c
.RI "\fBDOMString\fP \fBsystemId\fP () const "
.br
.ti -1c
.RI "\fBDOMString\fP \fBnotationName\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBEntity\fP (EntityImpl *i)"
.br
.in -1c
.SH "Detailed Description"
.PP 
This interface represents an entity, either parsed or unparsed, in an XML document. 

Note that this models the entity itself not the entity declaration. \fC\fBEntity\fP\fP declaration modeling has been left for a later Level of the \fBDOM\fP specification.
.PP
The \fCnodeName\fP attribute that is inherited from \fC\fBNode\fP\fP contains the name of the entity.
.PP
An XML processor may choose to completely expand entities before the structure model is passed to the \fBDOM\fP; in this case there will be no \fC\fBEntityReference\fP\fP nodes in the document tree.
.PP
XML does not mandate that a non-validating XML processor read and process entity declarations made in the external subset or declared in external parameter entities. This means that parsed entities declared in the external subset need not be expanded by some classes of applications, and that the replacement value of the entity may not be available. When the replacement value is available, the corresponding \fC\fBEntity\fP\fP node's child list represents the structure of that replacement text. Otherwise, the child list is empty.
.PP
The resolution of the children of the \fC\fBEntity\fP\fP (the replacement value) may be lazily evaluated; actions by the user (such as calling the \fCchildNodes\fP method on the \fC\fBEntity\fP\fP \fBNode\fP) are assumed to trigger the evaluation.
.PP
The \fBDOM\fP Level 1 does not support editing \fC\fBEntity\fP\fP nodes; if a user wants to make changes to the contents of an \fC\fBEntity\fP\fP , every related \fC\fBEntityReference\fP\fP node has to be replaced in the structure model by a clone of the \fC\fBEntity\fP\fP 's contents, and then the desired changes must be made to each of those clones instead. All the descendants of an \fC\fBEntity\fP\fP node are readonly.
.PP
An \fC\fBEntity\fP\fP node does not have any parent. 
.PP
Definition at line 124 of file dom_xml.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP Entity::publicId () const"
.PP
The public identifier associated with the entity, if specified. 
.PP
If the public identifier was not specified, this is \fCnull\fP . 
.PP
Definition at line 100 of file dom_xml.cpp.
.SS "\fBDOMString\fP Entity::systemId () const"
.PP
The system identifier associated with the entity, if specified. 
.PP
If the system identifier was not specified, this is \fCnull\fP . 
.PP
Definition at line 108 of file dom_xml.cpp.
.SS "\fBDOMString\fP Entity::notationName () const"
.PP
For unparsed entities, the name of the notation for the entity. 
.PP
For parsed entities, this is \fCnull\fP . 
.PP
Definition at line 116 of file dom_xml.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
