Package Bio :: Package SwissProt :: Module SProt :: Class _Scanner
[show private | hide private]
[frames | no frames]

Class _Scanner


Scans SwissProt-formatted data.

Tested with: Release 37 Release 38
Method Summary
  _scan_ac(self, uhandle, consumer)
  _scan_cc(self, uhandle, consumer)
  _scan_de(self, uhandle, consumer)
  _scan_dr(self, uhandle, consumer)
  _scan_dt(self, uhandle, consumer)
  _scan_ft(self, uhandle, consumer)
  _scan_gn(self, uhandle, consumer)
  _scan_id(self, uhandle, consumer)
  _scan_kw(self, uhandle, consumer)
  _scan_line(self, line_type, uhandle, event_fn, exactly_one, one_or_more, any_number, up_to_one)
  _scan_oc(self, uhandle, consumer)
  _scan_og(self, uhandle, consumer)
  _scan_os(self, uhandle, consumer)
  _scan_ox(self, uhandle, consumer)
  _scan_ra(self, uhandle, consumer)
  _scan_rc(self, uhandle, consumer)
  _scan_record(self, uhandle, consumer)
  _scan_reference(self, uhandle, consumer)
  _scan_rl(self, uhandle, consumer)
  _scan_rn(self, uhandle, consumer)
  _scan_rp(self, uhandle, consumer)
  _scan_rt(self, uhandle, consumer)
  _scan_rx(self, uhandle, consumer)
  _scan_sequence_data(self, uhandle, consumer)
  _scan_sq(self, uhandle, consumer)
  _scan_terminator(self, uhandle, consumer)
  feed(self, handle, consumer)
feed(self, handle, consumer)

Class Variable Summary
list _scan_fns = [<function _scan_id at 0xb70d08ec>, <functio...

Method Details

feed(self, handle, consumer)

feed(self, handle, consumer)

Feed in SwissProt data for scanning. handle is a file-like object that contains swissprot data. consumer is a Consumer object that will receive events as the report is scanned.

Class Variable Details

_scan_fns

Type:
list
Value:
[<function _scan_id at 0xb70d08ec>,
 <function _scan_ac at 0xb70d0924>,
 <function _scan_dt at 0xb70d095c>,
 <function _scan_de at 0xb70d0994>,
 <function _scan_gn at 0xb70d09cc>,
 <function _scan_os at 0xb70d0a04>,
 <function _scan_og at 0xb70d0a3c>,
 <function _scan_oc at 0xb70d0a74>,
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 10 20:01:09 2006 http://epydoc.sf.net