Mixin that makes childless-ness easy to implement and avoids the complexity of the Node methods that deal with children. More...

Public Member Functions | |
| 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. | |
Static Public Attributes | |
| attributes = None | |
| childNodes = EmptyNodeList() | |
| firstChild = None | |
| lastChild = None | |
Protected Member Functions | |
| _get_firstChild (self) | |
| _get_lastChild (self) | |
Mixin that makes childless-ness easy to implement and avoids the complexity of the Node methods that deal with children.
Definition at line 290 of file element.py.
|
protected |
Definition at line 297 of file element.py.
|
protected |
Definition at line 300 of file element.py.
| odf.element.Childless.appendChild | ( | self, | |
| node | |||
| ) |
Raises an error.
Definition at line 304 of file element.py.

| odf.element.Childless.hasChildNodes | ( | self | ) |
Definition at line 308 of file element.py.
| odf.element.Childless.insertBefore | ( | self, | |
| newChild, | |||
| refChild | |||
| ) |
Raises an error.
Definition at line 312 of file element.py.
| odf.element.Childless.removeChild | ( | self, | |
| oldChild | |||
| ) |
Raises an error.
Definition at line 317 of file element.py.
| odf.element.Childless.replaceChild | ( | self, | |
| newChild, | |||
| oldChild | |||
| ) |
Raises an error.
Definition at line 322 of file element.py.
|
static |
Definition at line 292 of file element.py.
|
static |
Definition at line 293 of file element.py.
|
static |
Definition at line 294 of file element.py.
|
static |
Definition at line 295 of file element.py.