Package Martel :: Package test :: Module support :: Class Dump
[show private | hide private]
[frames | no frames]

Class Dump

ContentHandler --+
                 |
  ErrorHandler --+
                 |
                Dump


Method Summary
  __init__(self, outfile)
  characters(self, content)
Receive notification of character data.
  endDocument(self)
Receive notification of the end of a document.
  endElement(self, name)
Signals the end of an element in non-namespace mode.
  error(self, exc)
  fatalError(self, exc)
  startDocument(self)
Receive notification of the beginning of a document.
  startElement(self, name, attrs)
Signals the start of an element in non-namespace mode.

Method Details

characters(self, content)

Receive notification of character data.

The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity so that the Locator provides useful information.
Overrides:
_xmlplus.sax.handler.ContentHandler.characters (inherited documentation)

endDocument(self)

Receive notification of the end of a document.

The SAX parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input.
Overrides:
_xmlplus.sax.handler.ContentHandler.endDocument (inherited documentation)

endElement(self, name)

Signals the end of an element in non-namespace mode.

The name parameter contains the name of the element type, just as with the startElement event.
Overrides:
_xmlplus.sax.handler.ContentHandler.endElement (inherited documentation)

startDocument(self)

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:
_xmlplus.sax.handler.ContentHandler.startDocument (inherited documentation)

startElement(self, name, attrs)

Signals the start of an element in non-namespace mode.

The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.
Overrides:
_xmlplus.sax.handler.ContentHandler.startElement (inherited documentation)

Generated by Epydoc 2.1 on Sat Jul 16 15:49:01 2005 http://epydoc.sf.net