This class is designed to sit between an XMLReader and the client
application's event handlers. By default, it does nothing but pass
requests up to the reader and events on to the handlers unmodified, but
subclasses can override specific methods to modify the event stream or
the configuration requests as they pass through.
|
|
|
|
|
fatalError(self,
exception) |
|
|
|
|
|
setDocumentLocator(self,
locator) |
|
|
|
|
|
|
|
startPrefixMapping(self,
prefix,
uri) |
|
|
|
endPrefixMapping(self,
prefix) |
|
|
|
startElement(self,
name,
attrs) |
|
|
|
|
|
startElementNS(self,
name,
qname,
attrs) |
|
|
|
endElementNS(self,
name,
qname) |
|
|
|
characters(self,
content) |
|
|
|
ignorableWhitespace(self,
chars) |
|
|
|
processingInstruction(self,
target,
data) |
|
|
|
skippedEntity(self,
name) |
|
|
|
notationDecl(self,
name,
publicId,
systemId) |
|
|
|
unparsedEntityDecl(self,
name,
publicId,
systemId,
ndata) |
|
|
|
resolveEntity(self,
publicId,
systemId) |
|
|
|
parse(self,
source)
Parse an XML document from a system identifier or an InputSource. |
|
|
|
setLocale(self,
locale)
Allow an application to set the locale for errors and warnings. |
|
|
|
getFeature(self,
name)
Looks up and returns the state of a SAX2 feature. |
|
|
|
setFeature(self,
name,
state)
Sets the state of a SAX2 feature. |
|
|
|
getProperty(self,
name)
Looks up and returns the value of a SAX2 property. |
|
|
|
setProperty(self,
name,
value)
Sets the value of a SAX2 property. |
|
|
|
|
|
|
Inherited from xmlreader.XMLReader :
getContentHandler ,
getDTDHandler ,
getEntityResolver ,
getErrorHandler ,
setContentHandler ,
setDTDHandler ,
setEntityResolver ,
setErrorHandler
|