Public Member Functions | |
def | __init__ (self, data) |
def | __str__ (self) |
def | __unicode__ (self) |
def | toXml (self, level, f) |
Write XML in UTF-8. More... | |
![]() | |
def | appendChild (self, node) |
Raises an error. More... | |
def | hasChildNodes (self) |
def | insertBefore (self, newChild, refChild) |
Raises an error. More... | |
def | removeChild (self, oldChild) |
Raises an error. More... | |
def | replaceChild (self, newChild, oldChild) |
Raises an error. More... | |
![]() | |
def | hasChildNodes (self) |
Tells whether this element has any children; text nodes, subelements, whatever. More... | |
def | insertBefore (self, newChild, refChild) |
Inserts the node newChild before the existing child node refChild. More... | |
def | appendChild (self, newChild) |
Adds the node newChild to the end of the list of children of this node. More... | |
def | removeChild (self, oldChild) |
Removes the child node indicated by oldChild from the list of children, and returns it. More... | |
Public Attributes | |
data | |
Static Public Attributes | |
nodeType = Node.TEXT_NODE | |
string | tagName = "Text" |
![]() | |
attributes = None | |
childNodes = EmptyNodeList() | |
firstChild = None | |
lastChild = None | |
![]() | |
parentNode = None | |
nextSibling = None | |
previousSibling = None | |
Definition at line 319 of file element.py.
def odf.element.Text.__init__ | ( | self, | |
data | |||
) |
Definition at line 323 of file element.py.
def odf.element.Text.__str__ | ( | self | ) |
Reimplemented from odf.element.Node.
Definition at line 326 of file element.py.
def odf.element.Text.__unicode__ | ( | self | ) |
Reimplemented from odf.element.Node.
Definition at line 329 of file element.py.
def odf.element.Text.toXml | ( | self, | |
level, | |||
f | |||
) |
Write XML in UTF-8.
Reimplemented in odf.element.CDATASection.
Definition at line 334 of file element.py.
odf.element.Text.data |
Definition at line 324 of file element.py.
|
static |
Definition at line 320 of file element.py.
|
static |
Definition at line 321 of file element.py.