⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
xml
/
sax
/
__pycache__
/
View File Name :
xmlreader.cpython-310.pyc
o }5h1 @ s d Z ddlmZ ddlmZmZ G dd dZG dd deZG dd d ZG d d dZ G dd d Z G dd de Zdd Ze dkrIe dS dS )z]An XML Reader is the SAX 2 name for an XML parser. XML Parsers should be based on this code. )handler)SAXNotSupportedExceptionSAXNotRecognizedExceptionc @ s e Zd ZdZdd Zdd Zdd Zdd Zd d Zdd Z dd Z dd Zdd Zdd Z dd Zdd Zdd Zdd Zdd Zd S )! XMLReadera% 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 | _t | _t | _t | _d S N) r ContentHandler _cont_handler DTDHandler_dtd_handlerEntityResolver_ent_handlerErrorHandler_err_handlerself r (/usr/lib/python3.10/xml/sax/xmlreader.py__init__ s zXMLReader.__init__c C t d)zAParse an XML document from a system identifier or an InputSource. This method must be implemented!NotImplementedErrorr sourcer r r parse s zXMLReader.parsec C | j S )z#Returns the current ContentHandler.r r r r r getContentHandler" zXMLReader.getContentHandlerc C || _ dS )z:Registers a new object to receive document content events.Nr r r r r r setContentHandler&