class documentation
Undocumented
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | add |
Undocumented |
Method | clone |
Undocumented |
Method | end |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | has |
Undocumented |
Method | has |
Undocumented |
Method | is |
Undocumented |
Method | is |
Compare this element to other. If the nodeName, namespace, attributes, and childNodes are all the same, return True, otherwise return False. |
Method | remove |
Undocumented |
Method | set |
Undocumented |
Method | writexml |
Serialize this Element to the given stream. |
Instance Variable | attributes |
Undocumented |
Instance Variable | case |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | namespace |
Undocumented |
Instance Variable | node |
Undocumented |
Instance Variable | nsprefixes |
Undocumented |
Instance Variable | preserve |
Undocumented |
Instance Variable | tag |
Undocumented |
Instance Variable | _filename |
Undocumented |
Instance Variable | _markpos |
Undocumented |
Inherited from Node
:
Method | append |
Make the given Node the last child of this node. |
Method | first |
Undocumented |
Method | has |
Undocumented |
Method | insert |
Make the given Node new a child of this node which comes before the Node ref. |
Method | last |
Undocumented |
Method | remove |
Remove the given Node from this node's children. |
Method | replace |
Replace a Node which is already a child of this node with a different node. |
Method | toprettyxml |
Undocumented |
Method | toxml |
Undocumented |
Method | writeprettyxml |
Undocumented |
Instance Variable | child |
Undocumented |
Instance Variable | parent |
Undocumented |
def __init__(self, tagName, attributes=None, parentNode=None, filename=None, markpos=None, caseInsensitive=1, preserveCase=0, namespace=None):
(source)
¶
overrides
twisted.web.microdom.Node.__init__
Undocumented
overrides
twisted.web.microdom.Node.isEqualToNode
Compare this element to other. If the nodeName, namespace, attributes, and childNodes are all the same, return True, otherwise return False.
def writexml(self, stream, indent='', addindent='', newl='', strip=0, nsprefixes={}, namespace=''):
(source)
¶
overrides
twisted.web.microdom.Node.writexml
Serialize this Element
to the given stream.
Parameters | |
stream | A file-like object to which this Element will be written. |
indent | Undocumented |
addindent | Undocumented |
newl | Undocumented |
strip | Undocumented |
nsprefixes | A dict mapping namespace URIs as str to prefixes as str. This defines the prefixes which are already in scope in the document at the point at which this Element exists. This is essentially an implementation detail for namespace support. Applications should not try to use it. |
namespace | The namespace URI as a str which is the default at the point in the document at which this Element exists. This is essentially an implementation detail for namespace support. Applications should not try to use it. |