|
| | __init__ (self, data) |
| |
| | __str__ (self) |
| |
| | __unicode__ (self) |
| |
| | toXml (self, level, f) |
| | Write XML in UTF-8.
|
| |
| | appendChild (self, node) |
| | Raises an error.
|
| |
| | hasChildNodes (self) |
| |
| | insertBefore (self, newChild, refChild) |
| | Raises an error.
|
| |
| | removeChild (self, oldChild) |
| | Raises an error.
|
| |
| | replaceChild (self, newChild, oldChild) |
| | Raises an error.
|
| |
| | 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.
|
| |
|
| | data |
| |
| | tagName |
| | The DOM does not clearly specify what to return in this case.
|
| |
Definition at line 326 of file element.py.
◆ __init__()
| odf.element.Text.__init__ |
( |
|
self, |
|
|
|
data |
|
) |
| |
◆ __str__()
| odf.element.Text.__str__ |
( |
|
self | ) |
|
◆ __unicode__()
| odf.element.Text.__unicode__ |
( |
|
self | ) |
|
◆ toXml()
| odf.element.Text.toXml |
( |
|
self, |
|
|
|
level, |
|
|
|
f |
|
) |
| |
◆ data
◆ nodeType
| odf.element.Text.nodeType = Node.TEXT_NODE |
|
static |
◆ tagName
| str odf.element.Text.tagName = "Text" |
|
static |
The documentation for this class was generated from the following file: