QXmlStreamEntityDeclaration Class

The QXmlStreamEntityDeclaration class represents a DTD entity declaration. More...

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

Note: All functions in this class are reentrant.

Public Functions

QXmlStreamEntityDeclaration()
QStringView name() const
QStringView notationName() const
QStringView publicId() const
QStringView systemId() const
QStringView value() const
bool operator!=(const QXmlStreamEntityDeclaration &other) const
bool operator==(const QXmlStreamEntityDeclaration &other) const

Detailed Description

An entity declaration consists of a name(), a notationName(), a systemId(), a publicId(), and a value().

Member Function Documentation

QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()

Creates an empty entity declaration.

QStringView QXmlStreamEntityDeclaration::name() const

Returns the entity name.

QStringView QXmlStreamEntityDeclaration::notationName() const

Returns the notation name.

QStringView QXmlStreamEntityDeclaration::publicId() const

Returns the public identifier.

QStringView QXmlStreamEntityDeclaration::systemId() const

Returns the system identifier.

QStringView QXmlStreamEntityDeclaration::value() const

Returns the entity's value.

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

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

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

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

Related Non-Members

QXmlStreamEntityDeclarations

Synonym for QList<QXmlStreamEntityDeclaration>.