<areashape="rect"id="node2"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model."alt=""coords="7,5,145,35"/></map>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">The public identifier associated with the entity, if specified. <ahref="#a180e4a1b00e12046e9096274b20dfed7"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">The system identifier associated with the entity, if specified. <ahref="#abd0c3de8709feb4c4ece99c65b48d19f"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">For unparsed entities, the name of the notation for the entity. <ahref="#a92e67138ab2d20ac4cbaeadc608ceff7"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">An attribute specifying the encoding used for this entity at the time of parsing, when it is an external parsed entity. <ahref="#a78dadcd54e86c2688ec8e8df29026d83"></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="#aee0f6f9604098a6b1198089054c96fc0"></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="#a2b5b32249cc65cecd940060b6b80c90c"></a><br/></td></tr>
<divclass="textblock"><p>This interface represents an entity, either parsed or unparsed, in an XML document. </p>
<p>Note that this models the entity itself not the entity declaration. <code><aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code> declaration modeling has been left for a later Level of the DOM specification. </p>
<p>The <code>nodeName</code> attribute that is inherited from <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model.">DOMNode</a></code> contains the name of the entity. </p>
<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"title="DOMEntityReference objects may be inserted into the structure model when an entity reference is in th...">DOMEntityReference</a></code> nodes in the document tree. </p>
<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"title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code> node's child list represents the structure of that replacement text. Otherwise, the child list is empty. </p>
<p>The DOM Level 2 does not support editing <code><aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code> nodes; if a user wants to make changes to the contents of an <code><aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code>, every related <code><aclass="el"href="classxercesc_1_1DOMEntityReference.html"title="DOMEntityReference objects may be inserted into the structure model when an entity reference is in th...">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"title="This interface represents an entity, either parsed or unparsed, in an XML document.">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"title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code> nodes and all their descendants are readonly. </p>
<p>An <code><aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document.">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"title="This interface represents an entity, either parsed or unparsed, in an XML document.">DOMEntity</a></code> node subtree is <code>null</code>. The same is true for <code><aclass="el"href="classxercesc_1_1DOMEntityReference.html"title="DOMEntityReference objects may be inserted into the structure model when an entity reference is in th...">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"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface. The DOM Level 2 does not support any mechanism to resolve namespace prefixes. </p>