Package lxml :: Module sax :: Class ElementTreeProducer

[hide private]
[frames] | no frames]

# Class ElementTreeProducer

source code

    object --+
             |
            ElementTreeProducer

Produces SAX events for an element and children.

Instance Methods | [hide private]

__init__(self, element_or_tree, content_handler) x.__init__(...) initializes x; see help(type(x)) for signature | source code

saxify(self) | source code

_recursive_saxify(self, element, parent_nsmap) | source code

_build_qname(self, ns_uri, local_name, nsmap, preferred_prefix, is_attribute) | source code

a new object with type S, a subtype of T

__new__(T, S, ...) | source code

__reduce__(...) helper for pickle | source code

__setstate__(...) | source code

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, element_or_tree, content_handler)
(Constructor)

source code

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

### __new__(T, S, ...)

source code

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

### __reduce__(...)

source code

helper for pickle

Overrides: object.__reduce__
  (inherited documentation)