Package Bio :: Package ExPASy :: Module ScanProsite :: Class Parser
[hide private]
[frames] | no frames]

Class Parser

source code

    xml.sax.xmlreader.XMLReader --+        
                                  |        
xml.sax.xmlreader.IncrementalParser --+    
                                      |    
          xml.sax.xmlreader.Locator --+    
                                      |    
        xml.sax.expatreader.ExpatParser --+
                                          |
                                         Parser

Instance Methods [hide private]
 
__init__(self) source code
 
feed(self, data, isFinal=0)
This method gives the raw XML data in the data parameter to the parser and makes it parse the data, emitting the corresponding events.
source code

Inherited from xml.sax.expatreader.ExpatParser: character_data, close, end_element, end_element_ns, end_namespace_decl, external_entity_ref, getColumnNumber, getFeature, getLineNumber, getProperty, getPublicId, getSystemId, notation_decl, parse, prepareParser, processing_instruction, reset, setContentHandler, setFeature, setProperty, skipped_entity_handler, start_doctype_decl, start_element, start_element_ns, start_namespace_decl, unparsed_entity_decl

Inherited from xml.sax.expatreader.ExpatParser (private): _reset_cont_handler, _reset_lex_handler_prop

Inherited from xml.sax.xmlreader.XMLReader: getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, setDTDHandler, setEntityResolver, setErrorHandler, setLocale

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: xml.sax.xmlreader.XMLReader.__init__

feed(self, data, isFinal=0)

source code 
This method gives the raw XML data in the data parameter to
the parser and makes it parse the data, emitting the
corresponding events. It is allowed for XML constructs to be
split across several calls to feed.

feed may raise SAXException.

Overrides: xml.sax.xmlreader.IncrementalParser.feed
(inherited documentation)