Package _xmlplus :: Package sax :: Module saxutils :: Class DefaultHandler
[show private | hide private]
[frames | no frames]

Class DefaultHandler

ContentHandler --+
                 |
    DTDHandler --+
                 |
EntityResolver --+
                 |
  ErrorHandler --+
                 |
                DefaultHandler

Known Subclasses:
GenericXMLContentHandler

Default base class for SAX2 event handlers. Implements empty methods for all callback methods, which can be overridden by application implementors. Replaces the deprecated SAX1 HandlerBase class.
Method Summary
    Inherited from EntityResolver
  resolveEntity(self, publicId, systemId)
Resolve the system identifier of an entity and return either the system identifier to read from as a string, or an InputSource to read from.
    Inherited from DTDHandler
  notationDecl(self, name, publicId, systemId)
Handle a notation declaration event.
  unparsedEntityDecl(self, name, publicId, systemId, ndata)
Handle an unparsed entity declaration event.
    Inherited from ContentHandler
  __init__(self)
  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.
  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.
  startDocument(self)
Receive notification of the beginning of a document.
  startElement(self, name, attrs)
Signals the start of an element in non-namespace mode.
  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 ErrorHandler
  error(self, exception)
Handle a recoverable error.
  fatalError(self, exception)
Handle a non-recoverable error.
  warning(self, exception)
Handle a warning.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 http://epydoc.sf.net