QDomNotation Class Reference

[ QtXml module]

QDomNotation 类表示 XML 表示法。 更多...

继承 QDomNode .

方法


详细描述

QDomNotation 类表示 XML 表示法。

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 节点。

有关文档对象模型的进一步信息,见 级别 1 and 级别 2 核心 . For a more general introduction of the DOM implementation see the QDomDocument 文档编制。


方法文档编制

QDomNotation.__init__ ( self )

构造函数。

QDomNotation.__init__ ( self , QDomNotation   x )

构造副本为 x .

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, use cloneNode ().

QDomNode.NodeType QDomNotation.nodeType ( self )

返回 NotationNode .

QString QDomNotation.publicId ( self )

Returns the public identifier of this notation.

QString QDomNotation.systemId ( self )

Returns the system identifier of this notation.