Package xml :: Package sax :: Module handler
[hide private]
[frames] | no frames]

Module handler

This module contains the core classes of version 2.0 of SAX for Python. This file provides only default classes with absolutely minimum functionality, from which drivers and applications can be subclassed.

Many of these classes are empty and are included only as documentation of the interfaces.

$Id: handler.py 35816 2004-05-06 03:47:48Z fdrake $

Classes [hide private]
ErrorHandler
Basic interface for SAX error handlers.
ContentHandler
Interface for receiving logical document content events.
DTDHandler
Handle DTD events.
EntityResolver
Basic interface for resolving entities.
Variables [hide private]
  version = '2.0beta'
  feature_namespaces = 'http://xml.org/sax/features/namespaces'
  feature_namespace_prefixes = 'http://xml.org/sax/features/name...
  feature_string_interning = 'http://xml.org/sax/features/string...
  feature_validation = 'http://xml.org/sax/features/validation'
  feature_external_ges = 'http://xml.org/sax/features/external-g...
  feature_external_pes = 'http://xml.org/sax/features/external-p...
  all_features = ['http://xml.org/sax/features/namespaces', 'htt...
  property_lexical_handler = 'http://xml.org/sax/properties/lexi...
  property_declaration_handler = 'http://xml.org/sax/properties/...
  property_dom_node = 'http://xml.org/sax/properties/dom-node'
  property_xml_string = 'http://xml.org/sax/properties/xml-string'
  property_encoding = 'http://www.python.org/sax/properties/enco...
  property_interning_dict = 'http://www.python.org/sax/propertie...
  all_properties = ['http://xml.org/sax/properties/lexical-handl...
Variables Details [hide private]

feature_namespace_prefixes

Value:
'http://xml.org/sax/features/namespace-prefixes'

feature_string_interning

Value:
'http://xml.org/sax/features/string-interning'

feature_external_ges

Value:
'http://xml.org/sax/features/external-general-entities'

feature_external_pes

Value:
'http://xml.org/sax/features/external-parameter-entities'

all_features

Value:
['http://xml.org/sax/features/namespaces',
 'http://xml.org/sax/features/namespace-prefixes',
 'http://xml.org/sax/features/string-interning',
 'http://xml.org/sax/features/validation',
 'http://xml.org/sax/features/external-general-entities',
 'http://xml.org/sax/features/external-parameter-entities']

property_lexical_handler

Value:
'http://xml.org/sax/properties/lexical-handler'

property_declaration_handler

Value:
'http://xml.org/sax/properties/declaration-handler'

property_encoding

Value:
'http://www.python.org/sax/properties/encoding'

property_interning_dict

Value:
'http://www.python.org/sax/properties/interning-dict'

all_properties

Value:
['http://xml.org/sax/properties/lexical-handler',
 'http://xml.org/sax/properties/dom-node',
 'http://xml.org/sax/properties/declaration-handler',
 'http://xml.org/sax/properties/xml-string',
 'http://www.python.org/sax/properties/encoding',
 'http://www.python.org/sax/properties/interning-dict']