Your IP : 3.137.175.83
3
\�1 � @ s� d dl mZ d dlmZmZ G dd� d�ZG dd� de�ZG dd� d�ZG d d
� d
�ZG dd� d�Z G d
d� de �Z
dd� Zedkr�e� dS )� )�handler)�SAXNotSupportedException�SAXNotRecognizedExceptionc @ s� e Zd Zdd� Zdd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� ZdS ) � XMLReaderc C s, t j� | _t j� | _t j� | _t j� | _d S )N) r ZContentHandler�
_cont_handlerZ
DTDHandler�_dtd_handlerZEntityResolver�_ent_handlerZErrorHandler�_err_handler)�self� r �)/usr/lib64/python3.6/xml/sax/xmlreader.py�__init__ s
zXMLReader.__init__c C s t d��d S )Nz This method must be implemented!)�NotImplementedError)r
�sourcer r r �parse s zXMLReader.parsec C s | j S )N)r )r
r r r �getContentHandler"