class documentation

class twisted.web.microdom.Document(Node): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method cloneNode Undocumented
Class Variable doctype Undocumented
Method isEqualToDocument Undocumented
Property documentElement Undocumented
Method appendChild Make the given Node the document element of this Document.
Method writexml Undocumented
Method createElement Undocumented
Method createTextNode Undocumented
Method createComment Undocumented
Method getElementsByTagName Undocumented
Method getElementById Undocumented

Inherited from Node:

Class Variable nodeName Undocumented
Instance Variable parentNode Undocumented
Instance Variable childNodes Undocumented
Method isEqualToNode Compare this node to other. If the nodes have the same number of children and corresponding children are equal to each other, return True, otherwise return False.
Method toxml Undocumented
Method writeprettyxml Undocumented
Method toprettyxml Undocumented
Method hasChildNodes Undocumented
Method insertBefore Make the given Node new a child of this node which comes before the Node ref.
Method removeChild Remove the given Node from this node's children.
Method replaceChild Replace a Node which is already a child of this node with a different node.
Method lastChild Undocumented
Method firstChild Undocumented
def __init__(self, documentElement=None): (source)

Undocumented

def cloneNode(self, deep=0, parent=None): (source)

Undocumented

doctype = (source)

Undocumented

def isEqualToDocument(self, n): (source)

Undocumented

@property
documentElement = (source)

Undocumented

def appendChild(self, child): (source)

Make the given Node the document element of this Document.

ParameterschildThe Node to make into this Document's document element.
RaisesValueErrorIf this document already has a document element.
def writexml(self, stream, indent='', addindent='', newl='', strip=0, nsprefixes={}, namespace=''): (source)

Undocumented

def createElement(self, name, **kw): (source)

Undocumented

def createTextNode(self, text): (source)

Undocumented

def createComment(self, text): (source)

Undocumented

def getElementsByTagName(self, name): (source)

Undocumented

def getElementById(self, id): (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.