HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QDomEntityReference Class Reference
[ XML module ]


The QDomEntityReference class represents XML entity reference. More...

#include <qdom.h>

Inherits QDomNode.

List of all member functions.

Public Members


Detailed Description

The QDomEntityReference class represents XML entity reference.

EntityReference objects may be inserted into the structure model when an entity reference is in the source document, or when the user wishes to insert an entity reference. Note that character references and references to predefined entities are expanded by the 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 structure model, instead of providing EntityReference objects. If it does provide such objects, then for a given EntityReference node, it may be that there is no Entity node representing the referenced entity; but if such an Entity exists, then the child list of the EntityReference node is the same as that of the Entity node. As with the Entity node, all descendants of the EntityReference are readonly.

For further information about the Document Objct Model see http://www.w3.org/TR/REC-DOM-Level-1/ . For a more general introduction into the internals of the DOM implementation see the QDomDocument documentation.


Member Function Documentation

QDomEntityReference::QDomEntityReference ()

Constructs a null entity reference. Use QDomDocument::createEntityReference() to create a non null object.

QDomEntityReference::QDomEntityReference ( const QDomEntityReference & x )

Copy constructor.

QDomEntityReference::~QDomEntityReference ()

Destructor.

bool QDomEntityReference::isEntityReference () const [virtual]

Returns TRUE.

Reimplemented from QDomNode.

QDomNode::NodeType QDomEntityReference::nodeType() const [virtual]

Returns QDomNode::EntityReference.

Reimplemented from QDomNode.

QDomEntityReference& QDomEntityReference::operator= ( const QDomEntityReference & x )

Assignment operator.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.


Copyright © 2000 TrolltechTrademarks
Qt version 2.2.0-beta2