Class CommonHandler

Class CommonHandler

SYNOPSIS

import sax
class CommonHandler(HandlerBase)
  def __getattr__(self, name)
  def __init__(self, name)
  string __module__ = 'sax'
  def characters(self,data,start,length)
  def endDocument(self)
  def endElement(self, name)
  def error(self,exception)
  def fatalError(self,exception)
  def startDocument(self)
  def startElement(self, name, attrs)
  def trace(self,*rest)
  def warning(self,exception)

  # Methods inherited by CommonHandler from DTDHandler
  def notationDecl(self, name, publicId, systemId)
  def unparsedEntityDecl(self, name, publicId, systemId, ndata)

  # Methods inherited by CommonHandler from EntityResolver
  def resolveEntity(self, publicId, systemId)

  # Methods inherited by CommonHandler from DocumentHandler
  def ignorableWhitespace(self, ch, start, length)
  def processingInstruction(self, target, data)
  def setDocumentLocator(self, locator)

DESCRIPTION

def ignorableWhitespace(self, ch, start, length)

Handle an event for ignorable whitespace in element content.

def notationDecl(self, name, publicId, systemId)

Handle a notation declaration event.

def processingInstruction(self, target, data)

Handle a processing instruction event.

def 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.

def setDocumentLocator(self, locator)

Receive an object for locating the origin of SAX document events.

def unparsedEntityDecl(self, name, publicId, systemId, ndata)

Handle an unparsed entity declaration event.

SEE ALSO

sax

HandlerBase


Generated by HTMLFormatter at Tue Jun 12 18:59:09 2001