xml.sax.expatreader
index
/usr/lib/python2.2/xml/sax/expatreader.py

SAX driver for the Pyexpat C module.  This driver works with
pyexpat.__version__ == '2.22'.

 
Modules
            
xml.parsers.expat
xml.sax.handler
xml.sax.saxutils
string
xml.sax.xmlreader
 
Classes
            
xml.sax.xmlreader.IncrementalParser(xml.sax.xmlreader.XMLReader)
ExpatParser(xml.sax.xmlreader.IncrementalParser, xml.sax.xmlreader.Locator)
xml.sax.xmlreader.Locator
ExpatParser(xml.sax.xmlreader.IncrementalParser, xml.sax.xmlreader.Locator)
 
class ExpatParser(xml.sax.xmlreader.IncrementalParser, xml.sax.xmlreader.Locator)
      SAX driver for the Pyexpat C module.
 
  
Method resolution order:
ExpatParser
xml.sax.xmlreader.IncrementalParser
xml.sax.xmlreader.XMLReader
xml.sax.xmlreader.Locator

Methods defined here:
__init__(self, namespaceHandling=0, bufsize=65516)
_reset_cont_handler(self)
_reset_lex_handler_prop(self)
character_data(self, data)
# this is not used (call directly to ContentHandler)
close(self)
end_element(self, name)
end_element_ns(self, name)
end_namespace_decl(self, prefix)
external_entity_ref(self, context, base, sysid, pubid)
feed(self, data, isFinal=0)
getColumnNumber(self)
getFeature(self, name)
getLineNumber(self)
getProperty(self, name)
getPublicId(self)
getSystemId(self)
notation_decl(self, name, base, sysid, pubid)
parse(self, source)
Parse an XML document from a URL or an InputSource.
prepareParser(self, source)
processing_instruction(self, target, data)
# this is not used (call directly to ContentHandler)
reset(self)
setContentHandler(self, handler)
setFeature(self, name, state)
setProperty(self, name, value)
start_element(self, name, attrs)
# event handlers
start_element_ns(self, name, attrs)
start_namespace_decl(self, prefix, uri)
unparsed_entity_decl(self, name, base, sysid, pubid, notation_name)

Data and non-method functions defined here:
__doc__ = 'SAX driver for the Pyexpat C module.'
__module__ = 'xml.sax.expatreader'

Methods inherited from xml.sax.xmlreader.XMLReader:
getContentHandler(self)
Returns the current ContentHandler.
getDTDHandler(self)
Returns the current DTD handler.
getEntityResolver(self)
Returns the current EntityResolver.
getErrorHandler(self)
Returns the current ErrorHandler.
setDTDHandler(self, handler)
Register an object to receive basic DTD-related events.
setEntityResolver(self, resolver)
Register an object to resolve external entities.
setErrorHandler(self, handler)
Register an object to receive error-message events.
setLocale(self, locale)
Allow an application to set the locale for errors and warnings.
 
SAX parsers are not required to provide localization for errors
and warnings; if they cannot support the requested locale,
however, they must throw a SAX exception. Applications may
request a locale change in the middle of a parse.
 
Functions
            
create_parser(*args, **kwargs)
 
Data
             __file__ = '/usr/lib/python2.2/xml/sax/expatreader.pyc'
__name__ = 'xml.sax.expatreader'
version = '0.20'