QDomNotation class represents an XML notation. 更多...
头: | #include <QDomNotation> |
qmake: | QT += xml |
继承: | QDomNode |
注意: 此类的所有函数 可重入 .
QDomNotation () | |
QDomNotation (const QDomNotation & x ) | |
QDomNode::NodeType | nodeType () const |
QString | publicId () const |
QString | systemId () const |
QDomNotation & | operator= (const QDomNotation & x ) |
QDomNotation class represents an XML notation.
A notation either declares, by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification), or is used for formal declaration of processing instruction targets (see section 2.6 of the XML 1.0 specification).
DOM does not support editing notation nodes; they are therefore read-only.
A notation node does not have any parent.
可以检索 publicId () 和 systemId () from a notation node.
有关文档对象模型的进一步信息,见 级别 1 and 级别 2 核心 。有关 DOM 实现的更一般介绍,见 QDomDocument 文档编制。
构造函数。
构造副本为 x .
拷贝数据是共享的 (浅拷贝):修改一个节点也将改变另一节点。若想要制作深度副本,使用 cloneNode ().
返回
NotationNode
.
Returns the public identifier of this notation.
Returns the system identifier of this notation.
赋值 x to this DOM notation.
拷贝数据是共享的 (浅拷贝):修改一个节点也将改变另一节点。若想要制作深度副本,使用 cloneNode ().