QXmlStreamEntityDeclaration#

The QXmlStreamEntityDeclaration class represents a DTD entity declaration. More

Synopsis#

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#

An entity declaration consists of a name() , a notationName() , a systemId() , a publicId() , and a value() .

class PySide6.QtCore.QXmlStreamEntityDeclaration#

Creates an empty entity declaration.

PySide6.QtCore.QXmlStreamEntityDeclaration.name()#
Return type:

str

Returns the entity name.

PySide6.QtCore.QXmlStreamEntityDeclaration.notationName()#
Return type:

str

Returns the notation name.

PySide6.QtCore.QXmlStreamEntityDeclaration.__ne__(other)#
Parameters:

otherPySide6.QtCore.QXmlStreamEntityDeclaration

Return type:

bool

Compares this entity declaration with other and returns true if they are not equal; otherwise returns false.

PySide6.QtCore.QXmlStreamEntityDeclaration.__eq__(other)#
Parameters:

otherPySide6.QtCore.QXmlStreamEntityDeclaration

Return type:

bool

Compares this entity declaration with other and returns true if they are equal; otherwise returns false.

PySide6.QtCore.QXmlStreamEntityDeclaration.publicId()#
Return type:

str

Returns the public identifier.

PySide6.QtCore.QXmlStreamEntityDeclaration.systemId()#
Return type:

str

Returns the system identifier.

PySide6.QtCore.QXmlStreamEntityDeclaration.value()#
Return type:

str

Returns the entity’s value.