QXmlStreamNamespaceDeclaration¶
The
QXmlStreamNamespaceDeclaration
class represents a namespace declaration. More…

Detailed Description¶
An namespace declaration consists of a
prefix()
and anamespaceUri()
.
-
class
QXmlStreamNamespaceDeclaration
¶ QXmlStreamNamespaceDeclaration(prefix, namespaceUri)
QXmlStreamNamespaceDeclaration(arg__1)
- param namespaceUri
unicode
- param prefix
unicode
- param arg__1
Creates an empty namespace declaration.
Creates a namespace declaration with
prefix
andnamespaceUri
.Creates a copy of
other
.
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
namespaceUri
()¶ - Return type
QStringRef
Returns the .
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
__ne__
(other)¶ - Parameters
other –
QXmlStreamNamespaceDeclaration
- Return type
bool
Compares this namespace declaration with
other
and returnstrue
if they are not equal; otherwise returnsfalse
.
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
__eq__
(other)¶ - Parameters
other –
QXmlStreamNamespaceDeclaration
- Return type
bool
Compares this namespace declaration with
other
and returnstrue
if they are equal; otherwise returnsfalse
.
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
prefix
()¶ - Return type
QStringRef
Returns the prefix.