QXmlStreamEntityDeclaration Class
The QXmlStreamEntityDeclaration class represents a DTD entity declaration. More…
| Header | #include <QXmlStreamEntityDeclaration> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Core) |
| Module | Nt Core C++ Classes |
List of all members, including inherited members
Public Functions
| QXmlStreamEntityDeclaration() | |
| QStringView | name() const |
| QStringView | notationName() const |
| QStringView | systemId() const |
| QStringView | publicId() const |
| QStringView | value() const |
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.