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)
Handle an event for ignorable whitespace in element content.
Handle a notation declaration event.
Handle a processing instruction event.
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.
Receive an object for locating the origin of SAX document events.
Handle an unparsed entity declaration event.