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 (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... | |
Static Public Attributes | |
attributes = None | |
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 279 of file element.py.
def odf.element.Childless.appendChild | ( | self, | |
node | |||
) |
Raises an error.
Definition at line 294 of file element.py.
def odf.element.Childless.hasChildNodes | ( | self | ) |
Definition at line 298 of file element.py.
def odf.element.Childless.insertBefore | ( | self, | |
newChild, | |||
refChild | |||
) |
Raises an error.
Definition at line 303 of file element.py.
def odf.element.Childless.removeChild | ( | self, | |
oldChild | |||
) |
Raises an error.
Definition at line 309 of file element.py.
def odf.element.Childless.replaceChild | ( | self, | |
newChild, | |||
oldChild | |||
) |
Raises an error.
Definition at line 315 of file element.py.
|
static |
Definition at line 281 of file element.py.
|
static |
Definition at line 282 of file element.py.
|
static |
Definition at line 283 of file element.py.
|
static |
Definition at line 284 of file element.py.