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

Class _BaseParser

object --+
         |
        _BaseParser
Known Subclasses:

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
copy(...)
Create a new parser with the same configuration.
 
makeelement(...)
Creates a new element associated with this parser.
 
setElementClassLookup(...)
 
set_element_class_lookup(...)
Set a lookup scheme for element classes generated from this parser.

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]
  error_log
The error log of the last parser run.
  resolvers
  version
The version of the underlying XML parser.

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

setElementClassLookup(...)

 

Deprecated: use ``parser.set_element_class_lookup(lookup)`` instead.

set_element_class_lookup(...)

 

Set a lookup scheme for element classes generated from this parser.

Reset it by passing None or nothing.