Package Martel :: Package test :: Module test_optimize :: Class GetErrorPos
[hide private]
[frames] | no frames]

Class GetErrorPos

source code

xml.sax.handler.ContentHandler --+
                                 |
  xml.sax.handler.ErrorHandler --+
                                 |
                                GetErrorPos

Instance Methods [hide private]
 
__init__(self) source code
 
startDocument(self)
Receive notification of the beginning of a document.
source code
 
error(self, exc)
Handle a non-recoverable error.
source code
 
fatalError(self, exc)
Handle a non-recoverable error.
source code

Inherited from xml.sax.handler.ContentHandler: characters, endDocument, endElement, endElementNS, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startElementNS, startPrefixMapping

Inherited from xml.sax.handler.ErrorHandler: warning

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: xml.sax.handler.ContentHandler.__init__

startDocument(self)

source code 

Receive notification of the beginning of a document.

The SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).

Overrides: xml.sax.handler.ContentHandler.startDocument
(inherited documentation)

error(self, exc)

source code 

Handle a non-recoverable error.

Overrides: xml.sax.handler.ErrorHandler.error
(inherited documentation)

fatalError(self, exc)

source code 

Handle a non-recoverable error.

Overrides: xml.sax.handler.ErrorHandler.fatalError
(inherited documentation)