QXmlStreamNamespaceDeclaration

The QXmlStreamNamespaceDeclaration class represents a namespace declaration. More

Inheritance diagram of PySide2.QtCore.QXmlStreamNamespaceDeclaration

Synopsis

Functions

Detailed Description

An namespace declaration consists of a prefix() and a namespaceUri() .

class QXmlStreamNamespaceDeclaration

QXmlStreamNamespaceDeclaration(prefix, namespaceUri)

QXmlStreamNamespaceDeclaration(arg__1)

param namespaceUri

unicode

param prefix

unicode

param arg__1

QXmlStreamNamespaceDeclaration

Creates an empty namespace declaration.

Creates a namespace declaration with prefix and namespaceUri .

PySide2.QtCore.QXmlStreamNamespaceDeclaration.namespaceUri()
Return type

QStringRef

Returns the .

PySide2.QtCore.QXmlStreamNamespaceDeclaration.__ne__(other)
Parameters

otherQXmlStreamNamespaceDeclaration

Return type

bool

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

PySide2.QtCore.QXmlStreamNamespaceDeclaration.__eq__(other)
Parameters

otherQXmlStreamNamespaceDeclaration

Return type

bool

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

PySide2.QtCore.QXmlStreamNamespaceDeclaration.prefix()
Return type

QStringRef

Returns the prefix.