Package CHEM :: Package DB :: Package rdb :: Module merckParserPlugin :: Class MerckHTMLParser
[hide private]
[frames] | no frames]

Class MerckHTMLParser



markupbase.ParserBase --+        
                        |        
       sgmllib.SGMLParser --+    
                            |    
     rdbparser.BaseHTMLParser --+
                                |
                               MerckHTMLParser

MerckIndex low-level NameReactions parser.

Instance Methods [hide private]
 
handle_data(self, text)
Handles all normal data not between brackets "<>".
 
start_img(self, attributes)
Process img line AND replaces the previous primary_ref tag with the description tag.

Inherited from rdbparser.BaseHTMLParser: getPieces, handle_entityref, init, output, reset

Inherited from sgmllib.SGMLParser: __init__, close, convert_charref, convert_codepoint, convert_entityref, error, feed, finish_endtag, finish_shorttag, finish_starttag, get_starttag_text, goahead, handle_charref, handle_comment, handle_decl, handle_endtag, 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]

handle_data(self, text)

 

Handles all normal data not between brackets "<>".

All sub-classes should implement this accordingly.
Overrides: rdbparser.BaseHTMLParser.handle_data
(inherited documentation)