QDomDocumentType class is the representation of the DTD in the document tree. 更多...
头: | #include <QDomDocumentType> |
qmake: | QT += xml |
继承: | QDomNode |
注意: 此类的所有函数 可重入 .
QDomDocumentType () | |
QDomDocumentType (const QDomDocumentType & n ) | |
QDomNamedNodeMap | entities () const |
QString | internalSubset () const |
QString | name () const |
QDomNode::NodeType | nodeType () const |
QDomNamedNodeMap | notations () const |
QString | publicId () const |
QString | systemId () const |
QDomDocumentType & | operator= (const QDomDocumentType & n ) |
QDomDocumentType class is the representation of the DTD in the document tree.
QDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities () 和 notations (). In addition the function name () returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId (), systemId () 和 internalSubset () 函数。
另请参阅 QDomDocument .
创建空 QDomDocumentType 对象。
构造副本为 n .
拷贝数据是共享的 (浅拷贝):修改一个节点也将改变另一节点。若想要制作深度副本,使用 cloneNode ().
Returns a map of all entities described in the DTD.
Returns the internal subset of the document type or an empty string if there is no internal subset.
另请参阅 publicId () 和 systemId ().
Returns the name of the document type as specified in the <!DOCTYPE name> tag.
另请参阅 nodeName ().
返回
DocumentTypeNode
.
另请参阅 isDocumentType () 和 QDomNode::toDocumentType ().
Returns a map of all notations described in the DTD.
Returns the public identifier of the external DTD subset or an empty string if there is no public identifier.
另请参阅 systemId (), internalSubset (),和 QDomImplementation::createDocumentType ().
Returns the system identifier of the external DTD subset or an empty string if there is no system identifier.
另请参阅 publicId (), internalSubset (),和 QDomImplementation::createDocumentType ().
赋值 n to this document type.
拷贝数据是共享的 (浅拷贝):修改一个节点也将改变另一节点。若想要制作深度副本,使用 cloneNode ().