PySide6.QtCore.QXmlStreamEntityDeclaration

class QXmlStreamEntityDeclaration

The QXmlStreamEntityDeclaration class represents a DTD entity declaration. More

Synopsis

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

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

__init__()

Creates an empty entity declaration.

name()
Return type:

str

Returns the entity name.

notationName()
Return type:

str

Returns the notation name.

__ne__(rhs)
Parameters:

rhsQXmlStreamEntityDeclaration

Return type:

bool

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

__eq__(rhs)
Parameters:

rhsQXmlStreamEntityDeclaration

Return type:

bool

Compares lhs entity declaration with rhs and returns true if they are equal; otherwise returns false.

publicId()
Return type:

str

Returns the public identifier.

systemId()
Return type:

str

Returns the system identifier.

value()
Return type:

str

Returns the entity’s value.