Back to index

python-biopython  1.60
Public Member Functions | Private Member Functions
Bio.ParserSupport.AbstractConsumer Class Reference
Inheritance diagram for Bio.ParserSupport.AbstractConsumer:
Inheritance graph

List of all members.

Public Member Functions

def __getattr__

Private Member Functions

def _unhandled_section
def _unhandled

Detailed Description

Base class for other Consumers.

Derive Consumers from this class and implement appropriate
methods for each event that you want to receive.

Definition at line 68 of file

Member Function Documentation

Reimplemented in Bio.ParserSupport.TaggingConsumer.

Definition at line 79 of file

00080     def __getattr__(self, attr):
00081         if attr[:6] == 'start_' or attr[:4] == 'end_':
00082             method = self._unhandled_section
00083         else:
00084             method = self._unhandled
00085         return method

Here is the call graph for this function:

def Bio.ParserSupport.AbstractConsumer._unhandled (   self,
) [private]

Definition at line 77 of file

00078     def _unhandled(self, data):

Here is the caller graph for this function:

Definition at line 75 of file

00076     def _unhandled_section(self):

Here is the caller graph for this function:

The documentation for this class was generated from the following file: