Package Bio :: Package LocusLink :: Module web_parse :: Class LocusLinkParser
[hide private]
[frames] | no frames]

Class LocusLinkParser

source code

markupbase.ParserBase --+    
                        |    
       sgmllib.SGMLParser --+
                            |
                           LocusLinkParser

Instance Methods [hide private]
 
reset(self)
Reset this instance.
source code
 
parse(self, handle) source code
 
feed(self, handle)
Feed some data to the parser.
source code
 
get_text(self) source code
 
handle_comment(self, comment) source code
 
handle_data(self, newtext) source code
 
start_a(self, attrs) source code
 
end_a(self) source code
 
start_b(self, attrs) source code
 
end_b(self) source code
 
start_th(self, attrs) source code
 
end_th(self) source code
 
start_table(self, attrs) source code
 
end_table(self) source code
 
start_tr(self, attrs) source code
 
end_tr(self) source code
 
start_td(self, attrs) source code
 
end_td(self) source code
 
do_br(self, attrs) source code
 
add_text_to_object(self, text) source code
 
is_contained_by(self, tag) source code
 
process_structure_stack(self) source code
 
print_stack(self) source code

Inherited from sgmllib.SGMLParser: __init__, close, convert_charref, convert_codepoint, convert_entityref, error, finish_endtag, finish_shorttag, finish_starttag, get_starttag_text, goahead, handle_charref, handle_decl, handle_endtag, handle_entityref, handle_pi, handle_starttag, parse_endtag, parse_pi, parse_starttag, report_unbalanced, setliteral, setnomoretags, unknown_charref, unknown_endtag, unknown_entityref, unknown_starttag

Inherited from sgmllib.SGMLParser (private): _convert_ref

Inherited from markupbase.ParserBase: getpos, parse_comment, parse_declaration, parse_marked_section, unknown_decl, updatepos

Inherited from markupbase.ParserBase (private): _parse_doctype_attlist, _parse_doctype_element, _parse_doctype_entity, _parse_doctype_notation, _parse_doctype_subset, _scan_name

Class Variables [hide private]

Inherited from sgmllib.SGMLParser: entity_or_charref, entitydefs

Inherited from sgmllib.SGMLParser (private): _decl_otherchars

Method Details [hide private]

reset(self)

source code 

Reset this instance. Loses all unprocessed data.

Overrides: markupbase.ParserBase.reset

feed(self, handle)

source code 
Feed some data to the parser.

        Call this as often as you want, with as little or as much text
        as you want (may include '
').  (This just saves the text,
        all the processing is done by goahead().)
        

Overrides: sgmllib.SGMLParser.feed
(inherited documentation)

handle_comment(self, comment)

source code 
Overrides: sgmllib.SGMLParser.handle_comment

handle_data(self, newtext)

source code 
Overrides: sgmllib.SGMLParser.handle_data