当前位置: 首页>>代码示例>>Python>>正文


Python FtNode.__init__方法代码示例

本文整理汇总了Python中FtNode.FtNode.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python FtNode.__init__方法的具体用法?Python FtNode.__init__怎么用?Python FtNode.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FtNode.FtNode的用法示例。


在下文中一共展示了FtNode.__init__方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, name, entities, notations, publicId, systemId):
     FtNode.__init__(self, None)
     self.__dict__['__nodeName'] = name
     self._entities = entities
     self._notations = notations
     self._publicId = publicId
     self._systemId = systemId
     #FIXME: Text repr of the entities
     self._internalSubset = ''
开发者ID:RedTea,项目名称:gaedav,代码行数:11,代码来源:DocumentType.py

示例2: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, doctype):
     FtNode.__init__(self, None)
     self.__dict__['__doctype'] = None
     self.__dict__['__implementation'] = implementation
     self.__dict__['__documentElement'] = None
     self.__dict__['_singleChildren'] = {Node.ELEMENT_NODE:'__documentElement',
                                         Node.DOCUMENT_TYPE_NODE:'__doctype'
                                         }
     self._4dom_setDocumentType(doctype)
开发者ID:AngusGeek,项目名称:org.aspectj,代码行数:11,代码来源:Document.py

示例3: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, doctype):
     FtNode.__init__(self, None)
     self.__dict__["__doctype"] = None
     self.__dict__["__implementation"] = implementation
     self.__dict__["__documentElement"] = None
     self.__dict__["_singleChildren"] = {
         Node.ELEMENT_NODE: "__documentElement",
         Node.DOCUMENT_TYPE_NODE: "__doctype",
     }
     self._4dom_setDocumentType(doctype)
开发者ID:RedTea,项目名称:gaedav,代码行数:12,代码来源:Document.py

示例4: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument, nodeName, namespaceURI, prefix, localName):
     FtNode.__init__(self, ownerDocument, namespaceURI, prefix, localName);
     #Set our attributes
     self.__dict__['__attributes'] = implementation._4dom_createNamedNodeMap(ownerDocument)
     self.__dict__['__nodeName'] = nodeName
开发者ID:eveningwear,项目名称:aqua-release,代码行数:7,代码来源:Element.py

示例5: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = '#document-fragment'
开发者ID:Birdbird,项目名称:StartPage,代码行数:5,代码来源:DocumentFragment.py

示例6: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument, publicId, systemId, notationName):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = '#entity'
     self.__dict__['publicId'] = publicId
     self.__dict__['systemId'] = systemId
     self.__dict__['notationName'] = notationName
开发者ID:HaiVu5583,项目名称:OdiSvn,代码行数:8,代码来源:Entity.py

示例7: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument, publicId, systemId, name):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = name
     self.__dict__['publicId'] = publicId
     self.__dict__['systemId'] = systemId
开发者ID:Birdbird,项目名称:StartPage,代码行数:7,代码来源:Notation.py

示例8: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument, name, namespaceURI, prefix, localName):
     FtNode.__init__(self, ownerDocument, namespaceURI, prefix, localName)
     self.__dict__['__nodeName'] = name
     self._ownerElement = None
开发者ID:HaiVu5583,项目名称:OdiSvn,代码行数:6,代码来源:Attr.py

示例9: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self,ownerDocument,target,data):
     FtNode.__init__(self,ownerDocument,EMPTY_NAMESPACE,'','')
     self.__dict__['__nodeName'] = target
     self.__dict__['__nodeValue'] = data
开发者ID:RedTea,项目名称:gaedav,代码行数:6,代码来源:ProcessingInstruction.py

示例10: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument, data):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeValue'] = data
     self._length = len(data)
开发者ID:eveningwear,项目名称:aqua-release,代码行数:6,代码来源:CharacterData.py

示例11: __init__

# 需要导入模块: from FtNode import FtNode [as 别名]
# 或者: from FtNode.FtNode import __init__ [as 别名]
 def __init__(self, ownerDocument, name):
     #Note: the Entity's name is treated as nodeName
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = name
开发者ID:Birdbird,项目名称:StartPage,代码行数:6,代码来源:EntityReference.py


注:本文中的FtNode.FtNode.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。