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
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)
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 = ''
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)
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
def __init__(self, ownerDocument, name): #Note: the Entity's name is treated as nodeName FtNode.__init__(self, ownerDocument) self.__dict__['__nodeName'] = name
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
def __init__(self, ownerDocument): FtNode.__init__(self, ownerDocument) self.__dict__['__nodeName'] = '#document-fragment'
def __init__(self, ownerDocument, publicId, systemId, name): FtNode.__init__(self, ownerDocument) self.__dict__['__nodeName'] = name self.__dict__['publicId'] = publicId self.__dict__['systemId'] = systemId
def __init__(self,ownerDocument,target,data): FtNode.__init__(self,ownerDocument,EMPTY_NAMESPACE,'','') self.__dict__['__nodeName'] = target self.__dict__['__nodeValue'] = data
def __init__(self, ownerDocument, name, namespaceURI, prefix, localName): FtNode.__init__(self, ownerDocument, namespaceURI, prefix, localName) self.__dict__['__nodeName'] = name self._ownerElement = None
def __init__(self, ownerDocument, target, data): FtNode.__init__(self, ownerDocument, '', '', '') self.__dict__['__nodeName'] = target self.__dict__['__nodeValue'] = data
def __init__(self, ownerDocument, data): FtNode.__init__(self, ownerDocument) self.__dict__['__nodeValue'] = data self._length = len(data)