|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/ |
Upload File : |
mò
ê/<c @ sK d Z d k Z d k Z d e i f d „ ƒ YZ d e f d „ ƒ YZ d S( sš
A parser filter for namespace support. Placed externally to the parser
for efficiency reasons.
$Id: namespace.py,v 1.5 2001/12/30 12:09:14 loewis Exp $
Nt ParserFilterc B sƒ 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 d
„ Z RS( s A generic parser filter class.c C s# t i i | ƒ t i ƒ | _ d S( N( t xmlappt Applicationt __init__t selft app( R ( ( tF /usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/namespace.pyR s c C s
| | _ d S( s) Sets the application to report events to.N( R R ( R R ( ( R t set_application s c C s' t i i | | ƒ | i i | ƒ d S( N( R R t set_locatorR t locatorR ( R R ( ( R R s c C s | i i ƒ d S( N( R R t doc_start( R ( ( R R
s c C s | i i ƒ d S( N( R R t doc_end( R ( ( R R ! s c C s | i i | ƒ d S( N( R R t handle_commentt data( R R
( ( R R $ s c C s | i i | | ƒ d S( N( R R t handle_start_tagt namet attrs( R R R ( ( R R ' s c C s | i i | ƒ d S( N( R R t handle_end_tagR ( R R ( ( R R * s c C s | i i | | | ƒ d S( N( R R t handle_dataR
t startt end( R R
R R ( ( R R - s c C s | i i | | | ƒ d S( N( R R t handle_ignorable_dataR
R R ( R R
R R ( ( R R 0 s c C s | i i | | ƒ d S( N( R R t handle_pit targetR
( R R R
( ( R R 3 s c C s | i i | | | ƒ d S( N( R R t handle_doctypet roott pubIDt sysID( R R R R ( ( R R 6 s c C s | i i | | | ƒ d S( N( R R t set_entity_infot xmlvert enct sddecl( R R R R ( ( R R 9 s ( t __name__t
__module__t __doc__R R R R
R R R R R R R R R ( ( ( R R
s t NamespaceFilterc B s>