⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.11
/
xml
/
sax
/
__pycache__
/
View File Name :
xmlreader.cpython-311.pyc
� ��h�1 � �� � d Z ddlmZ ddlmZmZ G d� d� � Z G d� de� � Z G d� d � � Z G d � d� � Z G d� d � � Z G d� de � � Zd� Ze dk r e� � dS dS )z]An XML Reader is the SAX 2 name for an XML parser. XML Parsers should be based on this code. � )�handler)�SAXNotSupportedException�SAXNotRecognizedExceptionc �l � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� ZdS )� 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 �� � t j � � | _ t j � � | _ t j � � | _ t j � � | _ d S �N) r �ContentHandler� _cont_handler� DTDHandler�_dtd_handler�EntityResolver�_ent_handler�ErrorHandler�_err_handler��selfs �(/usr/lib/python3.11/xml/sax/xmlreader.py�__init__zXMLReader.__init__ sL � �$�3�5�5���#�.�0�0���#�2�4�4���#�0�2�2����� c � � t d� � �)zAParse an XML document from a system identifier or an InputSource.� This method must be implemented!��NotImplementedError�r �sources r �parsezXMLReader.parse s � �!�"D�E�E�Er c � � | j S )z#Returns the current ContentHandler.�r r s r �getContentHandlerzXMLReader.getContentHandler"