「QDomProcessingInstruction」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
*QDomProcessingInstruction
XML処理命令を表す
XMLドキュメントの一番上のXML宣言<?xml version='1.0' encoding='UTF-8'?>はQDomでは処理命令として扱われる
XML宣言は処理命令ではない
他の処理命令とは違い、これはドキュメントの一行目以外には挿入できない
処理命令として同じ構文であるにも関わらず、この関数をXML宣言を生成するのに使用しないでください
QDomによってはそのようなものとして扱われない可能性があります
**継承元
[[QDomNode]]
**公式リファレンス
http://qt-project.org/doc/qt-5/qdomprocessinginstruction.html
*基本
**コンストラクタ
|QDomProcessingInstruction::QDomProcessingInstruction()|
空の [[QDomProcessingInstructio]n オブジェクトを生成します
|コンテンツを持った処理命令はQDomDocument::createProcessingInstruction()で生成します|
**コピーコンストラクタ
|QDomProcessingInstruction::QDomProcessingInstruction(const QDomProcessingInstruction & &color(coral){x})|
オブジェクトはシャローコピーされます
ディープコピーをする場合は &color(cadetblue){cloneNode()} を使用します
**型を取得する
|QDomNode::NodeType QDomProcessingInstruction::nodeType() const|
ノードタイプ(ProcessingInstructionNode)を取得します
**演算子
|QDomProcessingInstruction & QDomProcessingInstruction::operator=(const QDomProcessingInstruction & &color(coral){x})|
----
*独自
|QString QDomProcessingInstruction::data() const|
処理命令のコンテンツを取得する
|void QDomProcessingInstruction::setData(const QString & &color(coral){d})|
&color(coral){d} への処理処理に含まれるデータを設定する
|QString QDomProcessingInstruction::target() const|
処理処理のターゲットを取得する
*QDomProcessingInstruction
XML処理命令ノードを表します
XML宣言 &color(cadetblue){<?xml version='1.0' encoding='UTF-8'?>} はXMLの仕様では処理命令ではありませんが QDom ではXML処理命令ノードとして扱われます
しかし、このクラスを使用してXML宣言を生成するのには使用しないでください
**継承元
[[QDomNode]]
**公式リファレンス
http://qt-project.org/doc/qt-5/qdomprocessinginstruction.html
*基本
**コンストラクタ
|QDomProcessingInstruction::QDomProcessingInstruction()|
空の [[QDomProcessingInstructio]n オブジェクトを生成します
|コンテンツを持った処理命令はQDomDocument::createProcessingInstruction()で生成します|
**コピーコンストラクタ
|QDomProcessingInstruction::QDomProcessingInstruction(const QDomProcessingInstruction & &color(coral){x})|
オブジェクトはシャローコピーされます
ディープコピーをする場合は &color(cadetblue){cloneNode()} を使用します
**型を取得する
|QDomNode::NodeType QDomProcessingInstruction::nodeType() const|
ノードタイプ(ProcessingInstructionNode)を取得します
**演算子
|QDomProcessingInstruction & QDomProcessingInstruction::operator=(const QDomProcessingInstruction & &color(coral){x})|
----
*独自
|QString QDomProcessingInstruction::data() const|
処理命令のコンテンツを取得する
|void QDomProcessingInstruction::setData(const QString & &color(coral){d})|
&color(coral){d} への処理処理に含まれるデータを設定する
|QString QDomProcessingInstruction::target() const|
処理処理のターゲットを取得する