Qt 4.8
Public Functions | List of all members
QXmlStreamEntityResolver Class Reference

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader. More...

#include <qxmlstream.h>

Public Functions

virtual QString resolveEntity (const QString &publicId, const QString &systemId)
 
virtual QString resolveUndeclaredEntity (const QString &name)
 Resolves the undeclared entity name and returns its replacement text. More...
 
virtual ~QXmlStreamEntityResolver ()
 Destroys the entity resolver. More...
 

Detailed Description

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

Note
This class or function is reentrant.
Since
4.4

Definition at line 281 of file qxmlstream.h.

Constructors and Destructors

◆ ~QXmlStreamEntityResolver()

QXmlStreamEntityResolver::~QXmlStreamEntityResolver ( )
virtual

Destroys the entity resolver.

Definition at line 195 of file qxmlstream.cpp.

196 {
197 }

Functions

◆ resolveEntity()

QString QXmlStreamEntityResolver::resolveEntity ( const QString publicId,
const QString systemId 
)
virtual
Warning
This function is not part of the public interface.

This function is a stub for later functionality.

Definition at line 203 of file qxmlstream.cpp.

204 {
205  return QString();
206 }
The QString class provides a Unicode character string.
Definition: qstring.h:83

◆ resolveUndeclaredEntity()

QString QXmlStreamEntityResolver::resolveUndeclaredEntity ( const QString name)
virtual

Resolves the undeclared entity name and returns its replacement text.

If the entity is also unknown to the entity resolver, it returns an empty string.

The default implementation always returns an empty string.

Definition at line 217 of file qxmlstream.cpp.

218 {
219  return QString();
220 }
The QString class provides a Unicode character string.
Definition: qstring.h:83

The documentation for this class was generated from the following files: