class twisted.web.microdom.Node: (source)
Known subclasses: twisted.web.microdom.CharacterData, twisted.web.microdom.Document, twisted.web.microdom.Element, twisted.web.microdom.EntityReference
Undocumented
Class Variable | nodeName | Undocumented |
Method | __init__ | 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 | writexml | Undocumented |
Method | toxml | Undocumented |
Method | writeprettyxml | Undocumented |
Method | toprettyxml | Undocumented |
Method | cloneNode | 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 |
Undocumented
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
.
Parameters | other | Undocumented (type: Node ) |
Returns | Undocumented (type: bool ) |
Undocumented
Undocumented
Replace a Node
which is already a child of this node with a different node.
Parameters | newChild | A Node which will be made a child of this node. |
oldChild | A Node which is a child of this node which will give up its position to newChild . | |
Raises | TypeError | If newChild or oldChild is not a Node instance. |
ValueError | If oldChild is not a child of this Node . |