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

Type _ListErrorLog

   object --+    
            |    
_BaseErrorLog --+
                |
               _ListErrorLog

Known Subclasses:
_ErrorLog

Immutable base version of a list based error log.
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __contains__(x, y)
x.__contains__(y) <==> y in x
  __getitem__(x, y)
x.__getitem__(y) <==> x[y]
  __iter__(x)
x.__iter__() <==> iter(x)
  __len__(x)
x.__len__() <==> len(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __nonzero__(x)
x.__nonzero__() <==> x != 0
  __repr__(x)
x.__repr__() <==> repr(x)
  copy(...)
Creates a shallow copy of this error log.
  filter_domains(...)
Filter the errors by the given domains and return a new error log containing the matches.
  filter_from_errors(...)
Convenience method to get all error messages or worse.
  filter_from_fatals(...)
Convenience method to get all fatal error messages.
  filter_from_level(...)
Return a log with all messages of the requested level of worse.
  filter_from_warnings(...)
Convenience method to get all warnings or worse.
  filter_levels(...)
Filter the errors by the given error levels and return a new error log containing the matches.
  filter_types(...)
Filter the errors by the given types and return a new error log containing the matches.
    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
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
PyCObject __pyx_vtable__ = <PyCObject object at 0x401cb650>
    Inherited from _BaseErrorLog
member_descriptor last_error = <member 'last_error' of 'lxml.etree._BaseEr...

Method Details

__init__(...)
(Constructor)

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

__contains__(x, y)
(In operator)

x.__contains__(y) <==> y in x
Returns:
y in x

__getitem__(x, y)
(Indexing operator)

x.__getitem__(y) <==> x[y]
Returns:
x[y]

__iter__(x)

x.__iter__() <==> iter(x)
Returns:
iter(x)

__len__(x)
(Length operator)

x.__len__() <==> len(x)
Returns:
len(x)

__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._BaseErrorLog.__new__

__nonzero__(x)
(Boolean test operator)

x.__nonzero__() <==> x != 0
Returns:
x != 0

__repr__(x)
(Representation operator)

x.__repr__() <==> repr(x)
Returns:
repr(x)
Overrides:
lxml.etree._BaseErrorLog.__repr__

copy(...)

Creates a shallow copy of this error log. Reuses the list of entries.
Overrides:
lxml.etree._BaseErrorLog.copy

filter_domains(...)

Filter the errors by the given domains and return a new error log containing the matches.

filter_from_errors(...)

Convenience method to get all error messages or worse.

filter_from_fatals(...)

Convenience method to get all fatal error messages.

filter_from_level(...)

Return a log with all messages of the requested level of worse.

filter_from_warnings(...)

Convenience method to get all warnings or worse.

filter_levels(...)

Filter the errors by the given error levels and return a new error log containing the matches.

filter_types(...)

Filter the errors by the given types and return a new error log containing the matches.

Class Variable Details

__pyx_vtable__

Type:
PyCObject
Value:
<PyCObject object at 0x401cb650>                                       

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