Package Martel :: Module Parser :: Class Parser
[hide private]
[frames] | no frames]

Class Parser

source code

xml.sax.xmlreader.XMLReader --+
                              |
                             Parser

Parse the input data all in memory

Instance Methods [hide private]
 
__init__(self, tagtable, (want_groupref_names, debug_level, attrlookup)=(0, 1, {})) source code
 
copy(self) source code
 
__str__(self) source code
 
parseFile(self, fileobj)
parse using the input file object
source code
 
parse(self, source)
parse using the URL or file handle
source code
 
parseString(self, s)
parse using the given string
source code
 
close(self) source code

Inherited from xml.sax.xmlreader.XMLReader: getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLocale, setProperty

Method Details [hide private]

__init__(self, tagtable, (want_groupref_names, debug_level, attrlookup)=(0, 1, {}))
(Constructor)

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

parseFile(self, fileobj)

source code 

parse using the input file object

XXX will be removed with the switch to Python 2.0, where parse() takes an 'InputSource'

parse(self, source)

source code 

parse using the URL or file handle

Overrides: xml.sax.xmlreader.XMLReader.parse

parseString(self, s)

source code 

parse using the given string

XXX will be removed with the switch to Python 2.0, where parse() takes an 'InputSource'