The QDomDocumentType class is the representation of the DTD in the document tree. 更多...
继承 QDomNode .
The QDomDocumentType class is the representation of the DTD in the document tree.
The 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 () 返回 the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId (), systemId () 和 internalSubset () 函数。
Creates an empty QDomDocumentType 对象。
构造副本为 n .
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 ().
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 ().