Home | Trees | Index | Help |
|
---|
Package lxml :: Module etree :: Class ElementBase |
|
object
--+ |_Element
--+ | ElementBase
bluff_class
,
default_class
,
maeh_class
,
ObjectifiedElement
All custom Element classes must inherit from this one.
Note that subclasses *must not* override __init__ or __new__ as it is absolutely undefined when these objects will be created or destroyed. All persistent state of Elements must be stored in the underlying XML. If you really need to initialize the object after creation, you can implement an ``_init(self)`` method that will be called after object creation.Method Summary | |
---|---|
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Aug 18 12:44:28 2007 | http://epydoc.sf.net |