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

Class TaggingConsumer

AbstractConsumer --+
                   |
                  TaggingConsumer


A Consumer that tags the data stream with the event and prints it to a handle. Useful for debugging.
Method Summary
  __init__(self, handle, colwidth, maxwidth)
TaggingConsumer(handle=sys.stdout, colwidth=15, maxwidth=80)
  __getattr__(self, attr)
  unhandled(self, data)
  unhandled_section(self)
  _print_name(self, name, data)
    Inherited from AbstractConsumer
  _unhandled(self, data)
  _unhandled_section(self)

Method Details

__init__(self, handle=None, colwidth=15, maxwidth=80)
(Constructor)

TaggingConsumer(handle=sys.stdout, colwidth=15, maxwidth=80)

Generated by Epydoc 2.1 on Thu Jun 30 22:05:41 2005 http://epydoc.sf.net