Home | Trees | Index | Help |
|
---|
Package lxml :: Module etree :: Class AttributeBasedElementClassLookup |
|
object
--+ |ElementClassLookup
--+ |FallbackElementClassLookup
--+ | AttributeBasedElementClassLookup
Checks an attribute of an Element and looks up the value in a class dictionary.
Arguments: * attribute name - '{ns}name' style string * class mapping - Python dict mapping attribute values to Element classes * fallback - optional fallback lookup mechanism
A None key in the class mapping will be checked if the attribute is missing.Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Inherited from FallbackElementClassLookup | |
Sets the fallback scheme for this lookup method. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
PyCObject |
__pyx_vtable__ = <PyCObject object at 0x401cb860>
|
Inherited from FallbackElementClassLookup | |
member_descriptor |
fallback = <member 'fallback' of 'lxml.etree.FallbackEle...
|
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
Class Variable Details |
---|
__pyx_vtable__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Aug 18 12:44:28 2007 | http://epydoc.sf.net |