Your IP : 18.117.162.116


Current Path : /opt/alt/python313/lib64/python3.13/xml/sax/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/xml/sax/__pycache__/xmlreader.cpython-313.opt-2.pyc

�

2}gP1���SSKJr SSKJrJr "SS5r"SS\5r"SS5r"S	S
5r"SS5r	"S
S\	5r
Sr\S:Xa\"5 gg)�)�handler)�SAXNotSupportedException�SAXNotRecognizedExceptionc�n�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrg)�	XMLReader�c���[R"5Ul[R"5Ul[R
"5Ul[R"5Ulg�N)	r�ContentHandler�
_cont_handler�
DTDHandler�_dtd_handler�EntityResolver�_ent_handler�ErrorHandler�_err_handler��selfs �8/opt/alt/python313/lib64/python3.13/xml/sax/xmlreader.py�__init__�XMLReader.__init__sF��$�3�3�5���#�.�.�0���#�2�2�4���#�0�0�2���c��[S5e�Nz This method must be implemented!��NotImplementedError�r�sources  r�parse�XMLReader.parses��!�"D�E�Erc��UR$r
�rrs r�getContentHandler�XMLReader.getContentHandler"s���!�!�!rc��Xlgr
r"�rrs  r�setContentHandler�XMLReader.setContentHandler&s��$�rc��UR$r
�rrs r�
getDTDHandler�XMLReader.getDTDHandler*���� � � rc��Xlgr
r*r&s  r�
setDTDHandler�XMLReader.setDTDHandler.���#�rc��UR$r
�rrs r�getEntityResolver�XMLReader.getEntityResolver2r-rc��Xlgr
r3)r�resolvers  r�setEntityResolver�XMLReader.setEntityResolver6s��$�rc��UR$r
�rrs r�getErrorHandler�XMLReader.getErrorHandler:r-rc��Xlgr
r;r&s  r�setErrorHandler�XMLReader.setErrorHandler>r1rc��[S5e)NzLocale support not implemented)r)r�locales  r�	setLocale�XMLReader.setLocaleBs��'�'G�H�Hrc��[SU-5e�NzFeature '%s' not recognized�r�r�names  r�
getFeature�XMLReader.getFeatureK���'�(E��(L�M�Mrc��[SU-5erFrG)rrI�states   r�
setFeature�XMLReader.setFeatureOrLrc��[SU-5e�NzProperty '%s' not recognizedrGrHs  r�getProperty�XMLReader.getPropertyS���'�(F��(M�N�Nrc��[SU-5erRrG)rrI�values   r�setProperty�XMLReader.setPropertyWrUr)rrrrN)�__name__�
__module__�__qualname__�__firstlineno__rrr#r'r+r/r4r8r<r?rCrJrOrSrX�__static_attributes__�rrrrsS��3�F�"�%�!�$�!�%�!�$�I�N�N�O�Orrc�<�\rSrSrS
SjrSrSrSrSrSr	Sr
g	)�IncrementalParser�[c�:�Xl[RU5 gr
)�_bufsizerr)r�bufsizes  rr�IncrementalParser.__init__os���
����4� rc�h�SSKJn URU5nURU5 UR	5nUcUR5nUR
UR5=n(a5URU5 UR
UR5=n(aM5UR5 g)Nr)�saxutils)
�rh�prepare_input_source�
prepareParser�getCharacterStream�
getByteStream�readrd�feed�close)rrrh�file�buffers     rr�IncrementalParser.parsess�����.�.�v�6�����6�"��(�(�*���<��'�'�)�D��	�	�$�-�-�0�0�f�0��I�I�f���	�	�$�-�-�0�0�f�0��
�
�rc��[S5err)r�datas  rro�IncrementalParser.feeds��"�"D�E�Erc��[S5e)Nz!prepareParser must be overridden!rrs  rrk�IncrementalParser.prepareParser�s��"�"E�F�Frc��[S5errrs rrp�IncrementalParser.close�s��"�"D�E�Erc��[S5errrs r�reset�IncrementalParser.reset�s��
"�"D�E�Er)rdN)i)rZr[r\r]rrrorkrpr|r^r_rrrara[s$��(!�
�F�G�
F�Frrac�,�\rSrSrSrSrSrSrSrg)�Locator�c��g�N���r_rs r�getColumnNumber�Locator.getColumnNumber����rc��gr�r_rs r�
getLineNumber�Locator.getLineNumber�r�rc��gr
r_rs r�getPublicId�Locator.getPublicId����rc��gr
r_rs r�getSystemId�Locator.getSystemId�r�rr_N)	rZr[r\r]r�r�r�r�r^r_rrrr�s�����rrc�Z�\rSrSrSSjrSrSrSrSrSr	S	r
S
rSrSr
S
rSrg)�InputSource�Nc�H�XlSUlSUlSUlSUlgr
)�_InputSource__system_id�_InputSource__public_id�_InputSource__encoding�_InputSource__bytefile�_InputSource__charfile�r�	system_ids  rr�InputSource.__init__�s%��$�������������rc��Xlgr
�r�)r�	public_ids  r�setPublicId�InputSource.setPublicId����$�rc��UR$r
r�rs rr��InputSource.getPublicId�������rc��Xlgr
�r�r�s  r�setSystemId�InputSource.setSystemId�r�rc��UR$r
r�rs rr��InputSource.getSystemId�r�rc��Xlgr
�r�)r�encodings  r�setEncoding�InputSource.setEncoding��	��#�rc��UR$r
r�rs r�getEncoding�InputSource.getEncoding�������rc��Xlgr
�r�)r�bytefiles  r�
setByteStream�InputSource.setByteStream�s	��#�rc��UR$r
r�rs rrm�InputSource.getByteStream�s��
���rc��Xlgr
�r�)r�charfiles  r�setCharacterStream�InputSource.setCharacterStreamr�rc��UR$r
r�rs rrl�InputSource.getCharacterStreamr�r)�
__bytefile�
__charfile�
__encoding�__public_id�__system_idr
)rZr[r\r]rr�r�r�r�r�r�r�rmr�rlr^r_rrr�r��s9��  �%� �%� �#��#��#�rr�c�~�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSSjrSrSrSrSrg)�AttributesImplic��Xlgr
��_attrs)r�attrss  rr�AttributesImpl.__init__s	���rc�,�[UR5$r
��lenr�rs r�	getLength�AttributesImpl.getLength����4�;�;��rc��g)N�CDATAr_rHs  r�getType�AttributesImpl.getTypes��rc� �URU$r
r�rHs  r�getValue�AttributesImpl.getValue"����{�{�4� � rc� �URU$r
r�rHs  r�getValueByQName�AttributesImpl.getValueByQName%r�rc�:�XR;a[U5eU$r
�r��KeyErrorrHs  r�getNameByQName�AttributesImpl.getNameByQName(����{�{�"��4�.� ��rc�:�XR;a[U5eU$r
r�rHs  r�getQNameByName�AttributesImpl.getQNameByName-r�rc�H�[URR55$r
��listr��keysrs r�getNames�AttributesImpl.getNames2����D�K�K�$�$�&�'�'rc�H�[URR55$r
r�rs r�	getQNames�AttributesImpl.getQNames5r�rc�,�[UR5$r
r�rs r�__len__�AttributesImpl.__len__8r�rc� �URU$r
r�rHs  r�__getitem__�AttributesImpl.__getitem__;r�rc�H�[URR55$r
r�rs rr��AttributesImpl.keys>r�rc��XR;$r
r�rHs  r�__contains__�AttributesImpl.__contains__As���{�{�"�"rNc�8�URRX5$r
)r��get)rrI�alternatives   rr�AttributesImpl.getDs���{�{���t�1�1rc�8�URUR5$r
)�	__class__r�rs r�copy�AttributesImpl.copyGs���~�~�d�k�k�*�*rc�H�[URR55$r
)r�r��itemsrs rr�AttributesImpl.itemsJs���D�K�K�%�%�'�(�(rc�H�[URR55$r
)r�r��valuesrs rr�AttributesImpl.valuesMs���D�K�K�&�&�(�)�)rr�r
)rZr[r\r]rr�r�r�r�r�r�r�r�r�r�r�r�rrrrr^r_rrr�r�sW��� ��!�!��
�
(�(� �!�(�#�2�+�)�*rr�c�8�\rSrSrSrSrSrSrSrSr	Sr
g	)
�AttributesNSImpliRc��XlX lgr
�r��_qnames)rr��qnamess   rr�AttributesNSImpl.__init__Ts��
���rc��URR5Hup#X1:XdMURUs $ [U5er
)rrr�r��rrI�nsname�qnames    rr�� AttributesNSImpl.getValueByQName\s;��#�|�|�1�1�3�O�V��}��{�{�6�*�*� 4��t�n�rc�p�URR5Hup#X1:XdMUs $ [U5er
)rrr�rs    rr��AttributesNSImpl.getNameByQNamecs1��#�|�|�1�1�3�O�V��}��
� 4��t�n�rc� �URU$r
)rrHs  rr��AttributesNSImpl.getQNameByNamejs���|�|�D�!�!rc�H�[URR55$r
)r�rrrs rr��AttributesNSImpl.getQNamesms���D�L�L�'�'�)�*�*rc�N�URURUR5$r
)rr�rrs rr�AttributesNSImpl.copyps���~�~�d�k�k�4�<�<�8�8rrN)rZr[r\r]rr�r�r�r�rr^r_rrrrRs �����"�+�9rrc�@�[5 [5 [5 gr
)rrarr_rr�_testr"ts��
�K����Ir�__main__N)
rir�_exceptionsrrrrarr�r�rr"rZr_rr�<module>r%su���L�
NO�NO�`DF�	�DF�P��0U�U�r:*�:*�|9�~�9�D�
�z��	�G�r

?>