QXmlStreamNamespaceDeclaration#
The QXmlStreamNamespaceDeclaration
class represents a namespace declaration. More…
Synopsis#
Functions#
def
__eq__
(other)def
__ne__
(other)def
namespaceUri
()def
prefix
()
Detailed Description#
An namespace declaration consists of a prefix()
and a namespaceUri()
.
- class PySide6.QtCore.QXmlStreamNamespaceDeclaration#
PySide6.QtCore.QXmlStreamNamespaceDeclaration(prefix, namespaceUri)
PySide6.QtCore.QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration)
- Parameters
prefix – str
namespaceUri – str
QXmlStreamNamespaceDeclaration –
PySide6.QtCore.QXmlStreamNamespaceDeclaration
Creates an empty namespace declaration.
Creates a namespace declaration with prefix
and namespaceUri
.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.namespaceUri()#
- Return type
QStringView
Returns the namespaceUri.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.__ne__(other)#
- Parameters
- Return type
bool
Compares this namespace declaration with other
and returns true
if they are not equal; otherwise returns false
.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.__eq__(other)#
- Parameters
- Return type
bool
Compares this namespace declaration with other
and returns true
if they are equal; otherwise returns false
.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.prefix()#
- Return type
QStringView
Returns the prefix.