Mixin that makes childless-ness easy to implement and avoids the complexity of the Node methods that deal with children. More...
Public Member Functions | |
def | appendChild |
Raises an error. More... | |
def | hasChildNodes |
def | insertBefore |
Raises an error. More... | |
def | removeChild |
Raises an error. More... | |
def | replaceChild |
Raises an error. More... | |
Static Public Attributes | |
attributes = None | |
tuple | childNodes = EmptyNodeList() |
firstChild = None | |
lastChild = None | |
Mixin that makes childless-ness easy to implement and avoids the complexity of the Node methods that deal with children.
Definition at line 221 of file element.py.
def odf.element.Childless.appendChild | ( | self, | |
node | |||
) |
Raises an error.
Definition at line 236 of file element.py.
def odf.element.Childless.hasChildNodes | ( | self | ) |
Definition at line 240 of file element.py.
def odf.element.Childless.insertBefore | ( | self, | |
newChild, | |||
refChild | |||
) |
Raises an error.
Definition at line 245 of file element.py.
def odf.element.Childless.removeChild | ( | self, | |
oldChild | |||
) |
Raises an error.
Definition at line 251 of file element.py.
def odf.element.Childless.replaceChild | ( | self, | |
newChild, | |||
oldChild | |||
) |
Raises an error.
Definition at line 257 of file element.py.
|
static |
Definition at line 223 of file element.py.
|
static |
Definition at line 224 of file element.py.
|
static |
Definition at line 225 of file element.py.
|
static |
Definition at line 226 of file element.py.