<h1>xercesc::DOMEntity Class Reference</h1><!-- doxytag: class="xercesc::DOMEntity" --><!-- doxytag: inherits="xercesc::DOMNode" -->This interface represents an entity, either parsed or unparsed, in an XML document.
Inheritance diagram for xercesc::DOMEntity:<p><center><imgsrc="classxercesc_1_1DOMEntity__inherit__graph.png"border="0"usemap="#xercesc_1_1DOMEntity__inherit__map"alt="Inheritance graph"></center>
<center><fontsize="2">[<ahref="graph_legend.html">legend</a>]</font></center><ahref="classxercesc_1_1DOMEntity-members.html">List of all members.</a><tableborder="0"cellpadding="0"cellspacing="0">
<tr><td></td></tr>
<tr><tdcolspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">The public identifier associated with the entity, if specified. <ahref="#180e4a1b00e12046e9096274b20dfed7"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">The system identifier associated with the entity, if specified. <ahref="#bd0c3de8709feb4c4ece99c65b48d19f"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">For unparsed entities, the name of the notation for the entity. <ahref="#92e67138ab2d20ac4cbaeadc608ceff7"></a><br></td></tr>
<tr><tdcolspan="2"><divclass="groupHeader">Functions introduced in DOM Level 3.</div></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying the actual encoding of this entity, when it is an external parsed entity. <ahref="#70c58381f13f1e8f2aab0f24b79888dc"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying the actual encoding of this entity, when it is an external parsed entity. <ahref="#07c47be22c18f6d2a00e1727edf22f04"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity. <ahref="#d0afb457c2048d4f0e723a5711fe51ba"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity. <ahref="#faf044aba94887c2bfb7039d5054b9e6"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed entity. <ahref="#b2e3e6b72e66dfd169607a736e1f9705"></a><br></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed entity. <ahref="#117c92d4d99058dcf23bbb5a68a4a9e0"></a><br></td></tr>
<tr><tdcolspan="2"><br><h2>Protected Member Functions</h2></td></tr>
This interface represents an entity, either parsed or unparsed, in an XML document.
<p>
Note that this models the entity itself not the entity declaration. <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code> declaration modeling has been left for a later Level of the DOM specification. <p>
The <code>nodeName</code> attribute that is inherited from <code><aclass="el"href="classxercesc_1_1DOMNode.html">DOMNode</a></code> contains the name of the entity. <p>
An XML processor may choose to completely expand entities before the structure model is passed to the DOM; in this case there will be no <code><aclass="el"href="classxercesc_1_1DOMEntityReference.html">DOMEntityReference</a></code> nodes in the document tree. <p>
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 <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code> node's child list represents the structure of that replacement text. Otherwise, the child list is empty. <p>
The DOM Level 2 does not support editing <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code> nodes; if a user wants to make changes to the contents of an <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code>, every related <code><aclass="el"href="classxercesc_1_1DOMEntityReference.html">DOMEntityReference</a></code> node has to be replaced in the structure model by a clone of the <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code>'s contents, and then the desired changes must be made to each of those clones instead. <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code> nodes and all their descendants are readonly. <p>
An <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code> node does not have any parent.If the entity contains an unbound namespace prefix, the <code>namespaceURI</code> of the corresponding node in the <code><aclass="el"href="classxercesc_1_1DOMEntity.html">DOMEntity</a></code> node subtree is <code>null</code>. The same is true for <code><aclass="el"href="classxercesc_1_1DOMEntityReference.html">DOMEntityReference</a></code> nodes that refer to this entity, when they are created using the <code>createEntityReference</code> method of the <code><aclass="el"href="classxercesc_1_1DOMDocument.html">DOMDocument</a></code> interface. The DOM Level 2 does not support any mechanism to resolve namespace prefixes. <p>
See also the <ahref="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113">Document Object Model (DOM) Level 2 Core Specification</a>.<p>