`twisted.web.microdom.Comment(CharacterData)`

class documentation`twisted.web.microdom`

View Source
(View In Hierarchy)
A comment node.

Method | writexml | Undocumented |

Method | cloneNode | Undocumented |

Inherited from Node (via CharacterData):

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 | appendChild | Make the given `Node` the last child
of this node. |

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 |

Inherited from Node (via CharacterData):

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 | appendChild | Make the given `Node` the last child
of this node. |

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
writexml(self, stream, indent='', addindent='', newl='', strip=0, nsprefixes={}, namespace=''):
(source)

overrides twisted.web.microdom.Node.writexml

Undocumented

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

overrides twisted.web.microdom.Node.cloneNode

Undocumented