xml.sax.handler
xml.sax.handler — Base classes for SAX handlers
Source code: Lib/xml/sax/handler.py
The SAX API defines four kinds of handlers: content handlers, DTD handlers, error handlers, and entity resolvers. Applications normally only need to implement those interfaces whose events they are interested in; they can implement the interfaces in a single object or in multiple objects. Handler implementations should inherit from the base classes provided in the module xml.sax.handler
, so that all methods get default implementations.
-
class