Current Path : /usr/local/lib/python2.5/xml/sax/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/xml/sax/xmlreader.pyo |
hRc @ s d Z d d k Z d d k l Z l Z d d d YZ d e f d YZ d d d YZ d d d YZ d d d YZ d e f d YZ d Z e d j o e n d S( s] An XML Reader is the SAX 2 name for an XML parser. XML Parsers should be based on this code. iN( t SAXNotSupportedExceptiont SAXNotRecognizedExceptiont XMLReaderc B s e 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 d Z d Z RS( s% Interface for reading an XML document using callbacks. XMLReader is the interface that an XML parser's SAX2 driver must implement. This interface allows an application to set and query features and properties in the parser, to register event handlers for document processing, and to initiate a document parse. All SAX interfaces are assumed to be synchronous: the parse methods must not return until parsing is complete, and readers must wait for an event-handler callback to return before reporting the next event.c C s@ t i | _ t i | _ t i | _ t i | _ d S( N( t handlert ContentHandlert _cont_handlert DTDHandlert _dtd_handlert EntityResolvert _ent_handlert ErrorHandlert _err_handler( t self( ( s- /usr/local/lib/python2.5/xml/sax/xmlreader.pyt __init__ s c C s t d d S( sA Parse an XML document from a system identifier or an InputSource.s This method must be implemented!N( t NotImplementedError( R t source( ( s- /usr/local/lib/python2.5/xml/sax/xmlreader.pyt parse s c C s | i S( s# Returns the current ContentHandler.( R ( R ( ( s- /usr/local/lib/python2.5/xml/sax/xmlreader.pyt getContentHandler"