• » PySide 模块
  • » PySide.QtXml
  • 内容表表

    上一话题

    QXmlLexicalHandler

    下一话题

    QXmlDTDHandler

    QXmlEntityResolver

    详细描述

    PySide.QtXml.QXmlEntityResolver class provides an interface to resolve external entities contained in XML data.

    If an application needs to implement customized handling for external entities, it must implement this interface, i.e. PySide.QtXml.QXmlEntityResolver.resolveEntity() , and register it with QXmlReader.setEntityResolver() .

    class PySide.QtXml. QXmlEntityResolver
    PySide.QtXml.QXmlEntityResolver. errorString ( )
    返回类型: unicode

    The reader calls this function to get an error string if any of the handler functions returns false.

    PySide.QtXml.QXmlEntityResolver. resolveEntity ( publicId , systemId )
    参数:
    • publicId – unicode
    • systemId – unicode
    返回类型:

    PySequence