Home | Trees | Index | Help |
|
---|
Package lxml :: Package html :: Class HtmlElementClassLookup |
|
object
--+ |ElementClassLookup
--+ |FallbackElementClassLookup
--+ |CustomElementClassLookup
--+ | HtmlElementClassLookup
A lookup scheme for HTML Element classes.
To create a lookup instance with different Element classes, pass a tag name mapping of Element classes in the ``classes`` keyword argument and/or a tag name mapping of Mixin classes in the ``mixins`` keyword argument. The special key '*' denotes a Mixin class that should be mixed into all Element classes.Method Summary | |
---|---|
__init__(self,
classes,
mixins)
| |
lookup(self,
node_type,
document,
namespace,
name)
| |
Inherited from CustomElementClassLookup | |
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 | |
---|---|
dict |
_default_element_classes = {'input': <class 'lxml.html.I...
|
Inherited from CustomElementClassLookup | |
PyCObject |
__pyx_vtable__ = <PyCObject object at 0x401cb890>
|
Inherited from FallbackElementClassLookup | |
member_descriptor |
fallback = <member 'fallback' of 'lxml.etree.FallbackEle...
|
Class Variable Details |
---|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Aug 18 12:44:28 2007 | http://epydoc.sf.net |