コード例 #1
0
ファイル: Element.py プロジェクト: OYZQ/odoo_qingjia
 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
コード例 #2
0
ファイル: Document.py プロジェクト: AngusGeek/org.aspectj
 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)
コード例 #3
0
 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)
コード例 #4
0
ファイル: DocumentType.py プロジェクト: coowoole/gaedav
 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 = ''
コード例 #5
0
ファイル: Document.py プロジェクト: RedTea/gaedav
 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)
コード例 #6
0
 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
コード例 #7
0
 def __init__(self, ownerDocument, name):
     #Note: the Entity's name is treated as nodeName
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = name
コード例 #8
0
ファイル: Element.py プロジェクト: eveningwear/aqua-release
 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
コード例 #9
0
 def __init__(self, ownerDocument):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = '#document-fragment'
コード例 #10
0
 def __init__(self, ownerDocument):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = '#document-fragment'
コード例 #11
0
 def __init__(self, ownerDocument, publicId, systemId, name):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = name
     self.__dict__['publicId'] = publicId
     self.__dict__['systemId'] = systemId
コード例 #12
0
ファイル: Entity.py プロジェクト: HaiVu5583/OdiSvn
 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
コード例 #13
0
 def __init__(self,ownerDocument,target,data):
     FtNode.__init__(self,ownerDocument,EMPTY_NAMESPACE,'','')
     self.__dict__['__nodeName'] = target
     self.__dict__['__nodeValue'] = data
コード例 #14
0
ファイル: Attr.py プロジェクト: HaiVu5583/OdiSvn
 def __init__(self, ownerDocument, name, namespaceURI, prefix, localName):
     FtNode.__init__(self, ownerDocument, namespaceURI, prefix, localName)
     self.__dict__['__nodeName'] = name
     self._ownerElement = None
コード例 #15
0
 def __init__(self, ownerDocument, target, data):
     FtNode.__init__(self, ownerDocument, '', '', '')
     self.__dict__['__nodeName'] = target
     self.__dict__['__nodeValue'] = data
コード例 #16
0
 def __init__(self, ownerDocument, name, namespaceURI, prefix, localName):
     FtNode.__init__(self, ownerDocument, namespaceURI, prefix, localName)
     self.__dict__['__nodeName'] = name
     self._ownerElement = None
コード例 #17
0
ファイル: CharacterData.py プロジェクト: OYZQ/odoo_qingjia
 def __init__(self, ownerDocument, data):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeValue'] = data
     self._length = len(data)
コード例 #18
0
 def __init__(self, ownerDocument, data):
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeValue'] = data
     self._length = len(data)
コード例 #19
0
ファイル: EntityReference.py プロジェクト: Birdbird/StartPage
 def __init__(self, ownerDocument, name):
     #Note: the Entity's name is treated as nodeName
     FtNode.__init__(self, ownerDocument)
     self.__dict__['__nodeName'] = name