|
| hasChildNodes (self) |
| Tells whether this element has any children; text nodes, subelements whatever.
|
|
| insertBefore (self, newChild, refChild) |
| Inserts the node newChild before the existing child node refChild.
|
|
| appendChild (self, newChild) |
| Adds the node newChild to the end of the list of children of this node.
|
|
| removeChild (self, oldChild) |
| Removes the child node indicated by oldChild from the list of children, and returns it.
|
|
| __str__ (self) |
|
| __unicode__ (self) |
|
Definition at line 174 of file element.py.
◆ __str__()
odf.element.Node.__str__ |
( |
| self | ) |
|
◆ __unicode__()
odf.element.Node.__unicode__ |
( |
| self | ) |
|
◆ _get_childNodes()
odf.element.Node._get_childNodes |
( |
| self | ) |
|
|
protected |
◆ _get_firstChild()
odf.element.Node._get_firstChild |
( |
| self | ) |
|
|
protected |
◆ _get_lastChild()
odf.element.Node._get_lastChild |
( |
| self | ) |
|
|
protected |
◆ appendChild()
odf.element.Node.appendChild |
( |
| self, |
|
|
| newChild ) |
Adds the node newChild to the end of the list of children of this node.
If the newChild is already in the tree, it is first removed.
Definition at line 230 of file element.py.
◆ hasChildNodes()
odf.element.Node.hasChildNodes |
( |
| self | ) |
|
Tells whether this element has any children; text nodes, subelements whatever.
Definition at line 183 of file element.py.
◆ insertBefore()
odf.element.Node.insertBefore |
( |
| self, |
|
|
| newChild, |
|
|
| refChild ) |
Inserts the node newChild before the existing child node refChild.
If refChild is null, insert newChild at the end of the list of children.
Definition at line 203 of file element.py.
◆ removeChild()
odf.element.Node.removeChild |
( |
| self, |
|
|
| oldChild ) |
Removes the child node indicated by oldChild from the list of children, and returns it.
Definition at line 246 of file element.py.
◆ _child_node_types
odf.element.Node._child_node_types |
|
protected |
The DOM does not clearly specify what to return in this case.
Definition at line 204 of file element.py.
◆ childNodes
odf.element.Node.childNodes |
◆ doc
◆ nextSibling
odf.element.Node.nextSibling = None |
|
static |
◆ ownerDocument
odf.element.Node.ownerDocument |
◆ parentNode
odf.element.Node.parentNode = None |
|
static |
◆ previousSibling
odf.element.Node.previousSibling = None |
|
static |
◆ tagName
The DOM does not clearly specify what to return in this case.
Definition at line 205 of file element.py.
The documentation for this class was generated from the following file: