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/xcatalog.pyo
mò xùžNc @ sj d Z d k Z d k Z d k Z d f d „ ƒ YZ d f d „ ƒ YZ d e i e i f d „ ƒ YZ d S( s] Support for XCatalog catalog files. $Id: xcatalog.py,v 1.9 2001/12/30 12:09:14 loewis Exp $ Nt XCatParserFactoryc B s t Z d d „ Z d „ Z RS( Nc C s | | _ d S( N( t error_langt self( R R ( ( tE /usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xcatalog.pyt __init__ s c C s t | i ƒ S( N( t XCatalogParserR R ( R t sysid( ( R t make_parser s ( t __name__t __module__t NoneR R ( ( ( R R s t FancyParserFactoryc B s t Z d d „ Z d „ Z RS( Nc C s | | _ d S( N( R R ( R R ( ( R R s c C s[ | d d j o t i | i ƒ Sn3 | d d j o t | i ƒ Sn t i | i ƒ Sd S( Niüÿÿÿs .socs .xml( R t catalogt CatalogParserR R R ( R R ( ( R R s ( R R R R R ( ( ( R R s R c B sA t Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s- t i i | ƒ t i i | ƒ | | _ d S( N( R t AbstrCatalogParserR R t xmlappt ApplicationR ( R R ( ( R R # s c C sm t i ƒ } | | _ | i | ƒ | i d j o | i | i ƒ n | i | i ƒ | i | ƒ | ` d S( N( t xmlproct XMLProcessort parserR t set_applicationR R t set_error_languaget set_error_handlert errt parse_resourceR ( R R R ( ( R R ( s c C s' yÍ | d j o | i i | d ƒ n¥ | d j o | i i | d | d ƒ ny | d j o | i i | d | d ƒ nM | d j o | i i | d ƒ n( | d j o | i i d | f ƒ n WnS t j oG } | i d d j o$ | i i d | i d | f ƒ q#| ‚ n Xd S( Nt Baset HReft Mapt PublicIDt Delegatet Extendt XCatalogiˆ i i‰ ( R R ( t nameR t appt handle_baset attrst handle_publict handle_delegatet handle_catalogR t report_errort KeyErrort et args( R R R# R) ( ( R t handle_start_tag2 s $c C s | i i ƒ S( N( R R t get_current_sysid( R ( ( R R, F s c C s | i i ƒ S( N( R R t get_line( R ( ( R R- I s c C s | i i ƒ S( N( R R t get_column( R ( ( R R. L s ( R R R R R R+ R, R- R. ( ( ( R R ! s ( t __doc__R R R R R R R R ( R R R R R R ( ( R t ? s