Trees | Index | Help |
---|
Package Bio :: Package Blast :: Module NCBIXML :: Class BlastParser |
|
ContentHandler
--+ |_XMLparser
--+ | BlastParser
Parse XML BLAST data into a Record.Blast object Methods: parse Parses BLAST XML data. Returns a list of Blast records All XML 'action' methods are private methods and may be: _start_TAG called when the start tag is found _end_TAG called when the end tag is found
Method Summary | |
---|---|
Constructor | |
Parses the XML data | |
Reset all the data allowing reuse of the BlastParser() object | |
Inherited from ContentHandler | |
Receive notification of the end of a document. | |
Signals the end of an element in namespace mode. | |
End the scope of a prefix-URI mapping. | |
Receive notification of ignorable whitespace in element content. | |
Receive notification of a processing instruction. | |
Called by the parser to give the application a locator for locating the origin of document events. | |
Receive notification of a skipped entity. | |
Receive notification of the beginning of a document. | |
Signals the start of an element in namespace mode. | |
Begin the scope of a prefix-URI Namespace mapping. |
Method Details |
---|
__init__(self,
debug=0)
|
parse(self, handler)Parses the XML data handler -- file handler or StringIO This method returns a list of Blast record objects. |
reset(self)Reset all the data allowing reuse of the BlastParser() object |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:12:11 2007 | http://epydoc.sf.net |