xmldom::DomEntityReference Class Reference

#include <DomEntityReference.h>

Inherits xmldom::DomNode.

Inheritance diagram for xmldom::DomEntityReference:

Inheritance graph
[legend]
List of all members.

Detailed Description

DomEntityReference nodes may be used to represent an entity reference in the tree.

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.

Note:
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.
See also:
More Informations About the DOM 3 standard.


Public Member Functions

 DomEntityReference ()
 ctor
 DomEntityReference (const DomEntityReference &copy)
 copy ctor
virtual ~DomEntityReference ()
 dtor
const DomEntityReferenceoperator= (const DomEntityReference &assign)
 assign


Constructor & Destructor Documentation

xmldom::DomEntityReference::DomEntityReference (  ) 

ctor

xmldom::DomEntityReference::DomEntityReference ( const DomEntityReference copy  ) 

copy ctor

xmldom::DomEntityReference::~DomEntityReference (  )  [virtual]

dtor


Member Function Documentation

const DomEntityReference & xmldom::DomEntityReference::operator= ( const DomEntityReference assign  ) 

assign


The documentation for this class was generated from the following files:
Generated on Fri May 30 11:15:12 2008 for XMLDOM by  doxygen 1.5.2