QXmlStreamEntityResolver 类

QXmlStreamEntityResolver 类提供实体解析器为 QXmlStreamReader . 更多...

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

注意: 此类的所有函数 可重入 .

公共函数

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

详细描述

成员函数文档编制

[virtual noexcept] QXmlStreamEntityResolver:: ~QXmlStreamEntityResolver ()

销毁实体解析器。

[虚拟] 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.