6.0.0-rc4Source

QXmlStreamEntityDeclaration Class

The QXmlStreamEntityDeclaration class represents a DTD entity declaration. More…

Header#include <QXmlStreamEntityDeclaration>
CMaketarget_link_libraries(app PRIVATE Nt::Core)
ModuleNt Core C++ Classes

List of all members, including inherited members

Public Functions

Detailed Description

QXmlStreamReader::entityDeclarations() returns the unparsed entities that the document type definition declares: data outside the document, of the kind that notationName() names.

Differences from Qt

The declaration holds its strings and does not refer to those of the reader.

Member Function Documentation

QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()

Constructs an empty declaration.

QStringView QXmlStreamEntityDeclaration::name() const

Returns the name of the entity.

QStringView QXmlStreamEntityDeclaration::notationName() const

Returns the name of the notation that says what kind of data the entity is.

QStringView QXmlStreamEntityDeclaration::publicId() const

Returns the public identifier of the entity, or an empty view.

QStringView QXmlStreamEntityDeclaration::systemId() const

Returns the system identifier of the entity, or an empty view.

QStringView QXmlStreamEntityDeclaration::value() const

Returns the replacement text of the entity, which an external entity does not have.