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 0x2aaaae55ab18>, <fun...

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 0x2aaaae55ab18>,
 <function _scan_ac at 0x2aaaae55ab90>,
 <function _scan_dt at 0x2aaaae55ac08>,
 <function _scan_de at 0x2aaaae55ac80>,
 <function _scan_gn at 0x2aaaae55acf8>,
 <function _scan_os at 0x2aaaae55ad70>,
 <function _scan_og at 0x2aaaae55ade8>,
 <function _scan_oc at 0x2aaaae55ae60>,
...                                                                    

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