W3cubDocs

/Qt

QXmlStreamEntityResolver Class

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

Header: #include <QXmlStreamEntityResolver>
CMake: find_package(Qt6 COMPONENTS Core REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

Note: All functions in this class are reentrant.

Public Functions

virtual ~QXmlStreamEntityResolver()
virtual QString resolveUndeclaredEntity(const QString &name)

Detailed Description

Member Function Documentation

[virtual] QXmlStreamEntityResolver::~QXmlStreamEntityResolver()

Destroys the entity resolver.

[virtual] QString QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString &name)

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qxmlstreamentityresolver.html