#include <DomEntityReference.h>
Inherits xmldom::DomNode.
Inheritance diagram for xmldom::DomEntityReference:

Note that character references and references to predefined entities are considered to be expanded by the HTML or XML processor so that characters are represented by their Unicode equivalent rather than by an entity reference. Moreover, the XML processor may completely expand references to entities while building the DomDocument, instead of providing DomEntityReference nodes. If it does provide such nodes, then for an DomEntityReference node that represents a reference to a known entity an DomEntity exists, and the subtree of the DomEntityReference node is a copy of the DomEntity node subtree. However, the latter may not be true when an entity contains an unbound namespace prefix. In such a case, because the namespace prefix resolution depends on where the entity reference is, the descendants of the EntityReference node may be bound to different namespace URIs. When an DomEntityReference node represents a reference to an unknown entity, the node has no children and its replacement value, when used by DomAttribute.getValue() for example, is empty.
As for DomEntity nodes, DomEntityReference nodes and all their descendants are readonly.
DomEntityReference nodes may cause element content and attribute value normalization problems when, such as in XML 1.0 and XML Schema, the normalization is performed after entity reference are expanded.
Public Member Functions | |
| DomEntityReference () | |
| ctor | |
| DomEntityReference (const DomEntityReference ©) | |
| copy ctor | |
| virtual | ~DomEntityReference () |
| dtor | |
| const DomEntityReference & | operator= (const DomEntityReference &assign) |
| assign | |
| xmldom::DomEntityReference::DomEntityReference | ( | ) |
ctor
| xmldom::DomEntityReference::DomEntityReference | ( | const DomEntityReference & | copy | ) |
copy ctor
| xmldom::DomEntityReference::~DomEntityReference | ( | ) | [virtual] |
dtor
| const DomEntityReference & xmldom::DomEntityReference::operator= | ( | const DomEntityReference & | assign | ) |
assign
1.5.2