A SAX builder-style class to make a parsed SeqRecord available.
This class does a lot of trickery to make things fit in the SAX
framework and still have the flexibility to use a built SeqRecord
object.
You shouldn't really need to use this class unless you are doing
something really fancy-pants; otherwise, just use the
BaseSeqRecordIndexer interfaces.
Methods
|
|
__init__
end_record
|
|
__init__
|
__init__ ( self, get_ids_callback )
Intialize with a callback function to gets id info from a SeqRecord.
get_ids_callback should be a callable function that will take a
SeqRecord object and return a dictionary mapping id names to
the valid ids for these names.
|
|
end_record
|
end_record ( self, tag )
Overrride the builder function to muck with the document attribute.
|
|