QXmlStreamNotationDeclaration Class

The QXmlStreamNotationDeclaration class represents a DTD notation declaration. More...

Header: #include <QXmlStreamNotationDeclaration>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

This class is equality-comparable.

Note: All functions in this class are reentrant.

Public Functions

QXmlStreamNotationDeclaration()
QStringView name() const
QStringView publicId() const
QStringView systemId() const
QXmlStreamNotationDeclarations
bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)
bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

Detailed Description

An notation declaration consists of a name(), a systemId(), and a publicId().

Member Function Documentation

QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration()

Creates an empty notation declaration.

QStringView QXmlStreamNotationDeclaration::name() const

Returns the notation name.

QStringView QXmlStreamNotationDeclaration::publicId() const

Returns the public identifier.

QStringView QXmlStreamNotationDeclaration::systemId() const

Returns the system identifier.

Related Non-Members

QXmlStreamNotationDeclarations

Synonym for QList<QXmlStreamNotationDeclaration>.

[noexcept] bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

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

[noexcept] bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

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