Package Bio :: Package LocusLink :: Class _RecordConsumer
[hide private]
[frames] | no frames]

Class _RecordConsumer

source code

 xml.sax.handler.ContentHandler --+    
                                  |    
Martel.Dispatch.DispatchHandler --+    
                                  |    
         Martel.Dispatch.Dispatcher --+
                                      |
                                     _RecordConsumer

Create a LocusLink Record object from scanner generated information.

Instance Methods [hide private]
 
__init__(self) source code
 
startDocument(self)
Receive notification of the beginning of a document.
source code
 
set_interest_tags(self, interest_tags) source code
 
start_locus_line(self, line, attrs) source code
 
end_locus_line(self, locus_record) source code
 
start_accnum_block(self, line, attrs) source code
 
end_accnum_block(self, locus_record) source code
 
start_phenotype_block(self, line, attrs) source code
 
end_phenotype_block(self, locus_record) source code
 
start_db_block(self, line, attrs) source code
 
end_db_block(self, locus_record) source code
 
parse_block(self, block, block_key) source code

Inherited from Martel.Dispatch.Dispatcher: acquire, characters, endDocument, endElement, get_characters, save_characters, startElement, uses_tags

Inherited from xml.sax.handler.ContentHandler: endElementNS, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElementNS, startPrefixMapping

Inherited from Martel.Dispatch.DispatchHandler: get_supported_features, setCharacterSaver

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: Martel.Dispatch.DispatchHandler.__init__

startDocument(self)

source code 

Receive notification of the beginning of a document.

The SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).

Overrides: xml.sax.handler.ContentHandler.startDocument
(inherited documentation)