Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
_xmlplus
/
parsers
/
xmlproc
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlapp.pyc
mò xùžNc @ sž d Z d k Z d k Z d k Z d k Td f d „ ƒ YZ d f d „ ƒ YZ d f d „ ƒ YZ d f d „ ƒ YZ d f d „ ƒ YZ d f d „ ƒ YZ d S( s} This file contains the default classes that are used to receive events from the XML parser. All these classes are meant to be subclassed (or imitated) by clients that want to handle these functions themselves. Application is the class that receives document data from the parser, and is probably the one most people want. $Id: xmlapp.py,v 1.12 2002/08/13 09:28:51 afayolle Exp $ N( t *t Applicationc B sz t Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( s‡ This is the class that represents the application that receives parsed data from the parser. It is meant to be subclassed by users.c C s d | _ d S( N( t Nonet selft locator( R ( ( tC /usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlapp.pyt __init__ s c C s | | _ d S( sl Gives the application an object to ask for the current location. Called automagically by the parser.N( R R ( R R ( ( R t set_locator s c C s d S( s6 Notifies the application of the start of the document.N( ( R ( ( R t doc_start s c C s d S( s4 Notifies the application of the end of the document.N( ( R ( ( R t doc_end# s c C s d S( s% Notifies the application of comments.N( ( R t data( ( R t handle_comment' s c C s d S( s@ Notifies the application of start tags (and empty element tags).N( ( R t namet attrs( ( R t handle_start_tag+ s c C s d S( s>