AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python33/lib64/python3.3/xml/sax/__pycache__/ |
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/xml/sax/__pycache__/xmlreader.cpython-33.pyc |
� ��fD1 c @ s� d Z d d l m Z d d l m Z m Z Gd d � d � Z Gd d � d e � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z Gd d � d e � Z d d � Z e d k r� e � n d S( u] An XML Reader is the SAX 2 name for an XML parser. XML Parsers should be based on this code. i ( u handler( u SAXNotSupportedExceptionu SAXNotRecognizedExceptionc B s� | Ee Z d Z d Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S(! u XMLReaderu% 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 j � | _ t j � | _ t j � | _ t j � | _ d S( N( u handleru ContentHandleru _cont_handleru DTDHandleru _dtd_handleru EntityResolveru _ent_handleru ErrorHandleru _err_handler( u self( ( u6 /opt/alt/python33/lib64/python3.3/xml/sax/xmlreader.pyu __init__ s u XMLReader.__init__c C s t d � � d S( uA Parse an XML document from a system identifier or an InputSource.u This method must be implemented!N( u NotImplementedError( u selfu source( ( u6 /opt/alt/python33/lib64/python3.3/xml/sax/xmlreader.pyu parse s u XMLReader.parsec C s | j S( u# Returns the current ContentHandler.( u _cont_handler( u self( ( u6 /opt/alt/python33/lib64/python3.3/xml/sax/xmlreader.pyu getContentHandler"