관리-도구
편집 파일: xmlreader.cpython-312.opt-2.pyc
� �Q�fP1 � � � d dl mZ d dlmZmZ G d� d� Z G d� de� Z G d� d� Z G d � d � Z G d� d� Z G d � de � Z d� Zedk( r e� yy)� )�handler)�SAXNotSupportedException�SAXNotRecognizedExceptionc �h � e Zd Z d� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zy)� XMLReaderc �� � t j � | _ t j � | _ t j � | _ t j � | _ y �N) r �ContentHandler� _cont_handler� DTDHandler�_dtd_handler�EntityResolver�_ent_handler�ErrorHandler�_err_handler��selfs �8/opt/alt/python312/lib64/python3.12/xml/sax/xmlreader.py�__init__zXMLReader.__init__ sF � �$�3�3�5���#�.�.�0���#�2�2�4���#�0�0�2��� c � � t d� ��Nz This method must be implemented!��NotImplementedError�r �sources r �parsezXMLReader.parse s � �K�!�"D�E�Er c � � | j S r �r r s r �getContentHandlerzXMLReader.getContentHandler"