PySide6.QtCore.QXmlStreamEntityResolver

class QXmlStreamEntityResolver

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

Synopsis

Methods

Virtual methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

__init__()
resolveEntity(publicId, systemId)
Parameters:
  • publicId – str

  • systemId – str

Return type:

str

resolveUndeclaredEntity(name)
Parameters:

name – str

Return type:

str

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.