QXmlStreamNotationDeclaration Class

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

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

Note: All functions in this class are reentrant.

Public Functions

QXmlStreamNotationDeclaration()
QStringView name() const
QStringView publicId() const
QStringView systemId() const
bool operator!=(const QXmlStreamNotationDeclaration &other) const
bool operator==(const QXmlStreamNotationDeclaration &other) const

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.

bool QXmlStreamNotationDeclaration::operator!=(const QXmlStreamNotationDeclaration &other) const

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

bool QXmlStreamNotationDeclaration::operator==(const QXmlStreamNotationDeclaration &other) const

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

Related Non-Members

QXmlStreamNotationDeclarations

Synonym for QList<QXmlStreamNotationDeclaration>.

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.