QXmlStreamEntityResolver#

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

Inheritance diagram of PySide6.QtCore.QXmlStreamEntityResolver

Synopsis#

Virtual functions#

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#

class PySide6.QtCore.QXmlStreamEntityResolver#
PySide6.QtCore.QXmlStreamEntityResolver.resolveEntity(publicId, systemId)#
Parameters:
  • publicId – str

  • systemId – str

Return type:

str

PySide6.QtCore.QXmlStreamEntityResolver.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.