QDomNotation Class

QDomNotationクラスはXML記法を表します。詳細...

ヘッダー #include <QDomNotation>
CMake: find_package(Qt6 REQUIRED COMPONENTS Xml)
target_link_libraries(mytarget PRIVATE Qt6::Xml)
qmake: QT += xml
継承: QDomNode

注意:このクラスの関数はすべてリエントラントです。

パブリック関数

QDomNotation()
QDomNotation(const QDomNotation &notation)
QDomNode::NodeType nodeType() const
QString publicId() const
QString systemId() const
QDomNotation &operator=(const QDomNotation &other)

詳細説明

記法は、パースされないエンティティのフォーマットを名前によって宣言するか(XML 1.0仕様のセクション4.7を参照)、処理命令のターゲットを正式に宣言するために使用されます(XML 1.0仕様のセクション2.6を参照)。

DOMは表記ノードの編集をサポートしない。

表記ノードは親を持たない。

表記ノードからpublicId() とsystemId() を取得することができます。

ドキュメント・オブジェクト・モデルの詳細については、レベル1とレベル2コアを参照してください。DOM 実装のより一般的な紹介については、QDomDocument ドキュメントを参照してください。

メンバ関数のドキュメント

QDomNotation::QDomNotation()

コンストラクタ。

QDomNotation::QDomNotation(const QDomNotation &notation)

notation のコピーを構築する。

コピーのデータは共有されます(シャローコピー):一方のノードを変更すると、もう一方のノードも変更されます。深いコピーを作成したい場合は、cloneNode() を使用します。

QDomNode::NodeType QDomNotation::nodeType() const

NotationNode を返す。

QString QDomNotation::publicId() const

この記法の公開識別子を返します。

QString QDomNotation::systemId() const

この記法のシステム識別子を返します。

QDomNotation &QDomNotation::operator=(const QDomNotation &other)

この DOM 記法にother を割り当てる。

コピーのデータは共有されます(シャローコピー):一方のノードを変更すると、もう一方のノードも変更されます。ディープコピーを作成したい場合は、cloneNode() を使用してください。

© 2025 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.