Package Bio :: Module ParserSupport :: Class TaggingConsumer
[hide private]
[frames] | no frames]

Class TaggingConsumer

source code

AbstractConsumer --+
                   |
                  TaggingConsumer

A Consumer that tags the data stream with the event and prints it to a handle. Useful for debugging.

Instance Methods [hide private]
 
__init__(handle=sys.stdout, colwidth=15, maxwidth=80) source code
 
unhandled_section(self) source code
 
unhandled(self, data) source code
 
_print_name(self, name, data=None) source code
 
__getattr__(self, attr) source code

Inherited from AbstractConsumer (private): _unhandled, _unhandled_section

Method Details [hide private]

__getattr__(self, attr)
(Qualification operator)

source code 
Overrides: AbstractConsumer.__getattr__