Package lxml :: Module etree :: Class ElementDefaultClassLookup
[show private | hide private]
[frames | no frames]

Type ElementDefaultClassLookup

        object --+    
                 |    
ElementClassLookup --+
                     |
                    ElementDefaultClassLookup


Element class lookup scheme that always returns the default Element class.

The keyword arguments ``element``, ``comment``, ``pi`` and ``entity`` accept the respective Element classes.
Method Summary
  __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
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
member_descriptor comment_class = <member 'comment_class' of 'lxml.etree.E...
member_descriptor element_class = <member 'element_class' of 'lxml.etree.E...
member_descriptor entity_class = <member 'entity_class' of 'lxml.etree.Ele...
member_descriptor pi_class = <member 'pi_class' of 'lxml.etree.ElementDefa...

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
lxml.etree.ElementClassLookup.__init__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
lxml.etree.ElementClassLookup.__new__

Class Variable Details

comment_class

Type:
member_descriptor
Value:
<member 'comment_class' of 'lxml.etree.ElementDefaultClassLookup' obje\
cts>                                                                   

element_class

Type:
member_descriptor
Value:
<member 'element_class' of 'lxml.etree.ElementDefaultClassLookup' obje\
cts>                                                                   

entity_class

Type:
member_descriptor
Value:
<member 'entity_class' of 'lxml.etree.ElementDefaultClassLookup' objec\
ts>                                                                    

pi_class

Type:
member_descriptor
Value:
<member 'pi_class' of 'lxml.etree.ElementDefaultClassLookup' objects>  

Generated by Epydoc 2.1 on Sat Aug 18 12:44:28 2007 http://epydoc.sf.net