QXmlStreamNamespaceDeclarationclass represents a namespace declaration. 更多 …
An namespace declaration consists of a
prefix()和namespaceUri().
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
and
namespaceUri
.
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
namespaceUri
(
)
¶
QStringRef
Returns the .
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
__ne__
(
other
)
¶
other
–
QXmlStreamNamespaceDeclaration
bool
Compares this namespace declaration with
other
并返回
true
if they are not equal; otherwise returns
false
.
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
__eq__
(
other
)
¶
other
–
QXmlStreamNamespaceDeclaration
bool
Compares this namespace declaration with
other
并返回
true
if they are equal; otherwise returns
false
.
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
prefix
(
)
¶
QStringRef
Returns the prefix.