Package Martel :: Module Dispatch :: Class Dispatcher
[show private | hide private]
[frames | no frames]

Class Dispatcher

 ContentHandler --+
                  |
DispatchHandler --+
                  |
                 Dispatcher

Known Subclasses:
BuildSearch, BuildSeqRecord, ConvertDispatchHandler

Adapter from the standard SAX events
Method Summary
  __init__(self, prefix, remap)
  acquire(self, obj, prefix)
  characters(self, s)
  endDocument(self)
Receive notification of the end of a document.
  endElement(self, tag)
  get_characters(self)
  save_characters(self)
  startDocument(self)
Receive notification of the beginning of a document.
  startElement(self, tag, attrs)
  uses_tags(self)
    Inherited from ContentHandler
  endElementNS(self, name, qname)
Signals the end of an element in namespace mode.
  endPrefixMapping(self, prefix)
End the scope of a prefix-URI mapping.
  ignorableWhitespace(self, whitespace)
Receive notification of ignorable whitespace in element content.
  processingInstruction(self, target, data)
Receive notification of a processing instruction.
  setDocumentLocator(self, locator)
Called by the parser to give the application a locator for locating the origin of document events.
  skippedEntity(self, name)
Receive notification of a skipped entity.
  startElementNS(self, name, qname, attrs)
Signals the start of an element in namespace mode.
  startPrefixMapping(self, prefix, uri)
Begin the scope of a prefix-URI Namespace mapping.
    Inherited from DispatchHandler
  get_supported_features(self)
  setCharacterSaver(self, saver)

Method Details

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

Generated by Epydoc 2.1 on Wed Jan 31 09:59:40 2007 http://epydoc.sf.net