PySide6.QtCore.QXmlStreamNotationDeclaration¶
- class QXmlStreamNotationDeclaration¶
QXmlStreamNotationDeclaration类表示一个 DTD 符号声明。更多…概要¶
方法¶
def
__init__()def
name()def
__ne__()def
__eq__()def
publicId()def
systemId()
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
一个符号声明由
name()、systemId()和publicId()组成。- __init__()¶
创建一个空的符号声明。
- name()¶
- Return type:
字符串
返回符号名称。
- __ne__(rhs)¶
- Parameters:
- Return type:
布尔
比较
lhs符号声明与rhs,如果它们不相等则返回true;否则返回false。- __eq__(rhs)¶
- Parameters:
- Return type:
布尔
比较
lhs符号声明与rhs,如果它们相等则返回true;否则返回false。- publicId()¶
- Return type:
字符串
返回公共标识符。
- systemId()¶
- Return type:
字符串
返回系统标识符。