Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

QDomDocumentType Class

TheQDomDocumentType class is the representation of the DTD in the document tree.More...

Header:#include <QDomDocumentType>
Inherits:QDomNode

Note: All functions in this class arereentrant.

Public Functions

QDomDocumentType()
QDomDocumentType(const QDomDocumentType & n)
QDomNamedNodeMapentities() const
QStringinternalSubset() const
QStringname() const
QDomNode::NodeTypenodeType() const
QDomNamedNodeMapnotations() const
QStringpublicId() const
QStringsystemId() const
QDomDocumentType &operator=(const QDomDocumentType & n)
  • 66 public functions inherited fromQDomNode

Detailed Description

TheQDomDocumentType class is the representation of the DTD in the document tree.

TheQDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of allentities() andnotations(). In addition the functionname() returns the name of the document type as specified in the &lt;!DOCTYPE name&gt; tag. This class also provides thepublicId(),systemId() andinternalSubset() functions.

See alsoQDomDocument.

Member Function Documentation

QDomDocumentType::QDomDocumentType()

Creates an emptyQDomDocumentType object.

QDomDocumentType::QDomDocumentType(constQDomDocumentType & n)

Constructs a copy ofn.

The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, usecloneNode().

QDomNamedNodeMap QDomDocumentType::entities() const

Returns a map of all entities described in the DTD.

QString QDomDocumentType::internalSubset() const

Returns the internal subset of the document type or an empty string if there is no internal subset.

See alsopublicId() andsystemId().

QString QDomDocumentType::name() const

Returns the name of the document type as specified in the &lt;!DOCTYPE name&gt; tag.

See alsonodeName().

QDomNode::NodeType QDomDocumentType::nodeType() const

ReturnsDocumentTypeNode.

See alsoisDocumentType() andQDomNode::toDocumentType().

QDomNamedNodeMap QDomDocumentType::notations() const

Returns a map of all notations described in the DTD.

QString QDomDocumentType::publicId() const

Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.

See alsosystemId(),internalSubset(), andQDomImplementation::createDocumentType().

QString QDomDocumentType::systemId() const

Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.

See alsopublicId(),internalSubset(), andQDomImplementation::createDocumentType().

QDomDocumentType & QDomDocumentType::operator=(constQDomDocumentType & n)

Assignsn to this document type.

The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, usecloneNode().

© 2016 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 theGNU 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.


[8]ページ先頭

©2009-2025 Movatter.jp