Your IP : 3.17.181.181


Current Path : /lib64/python3.8/xml/dom/__pycache__/
Upload File :
Current File : //lib64/python3.8/xml/dom/__pycache__/__init__.cpython-38.opt-1.pyc

U

e5d��@s�dZGdd�d�ZdZdZdZdZdZdZd	Zd
Z	dZ
dZd
ZdZ
dZdZdZdZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZGd%d&�d&e�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�ZGd-d.�d.e�Z Gd/d0�d0e�Z!Gd1d2�d2e�Z"Gd3d4�d4e�Z#Gd5d6�d6�Z$d7Z%d8Z&d9Z'd:Z(d:Z)dd;l*m+Z+m,Z,d:S)<a
W3C Document Object Model implementation for Python.

The Python mapping of the Document Object Model is documented in the
Python Library Reference in the section on the xml.dom package.

This package contains the following modules:

minidom -- A simple implementation of the Level 1 DOM with namespace
           support added (based on the Level 2 specification) and other
           minor Level 2 functionality.

pulldom -- DOM builder supporting on-demand tree-building for selected
           subtrees of the document.

c@sDeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdS)�Nodez$Class giving the NodeType constants.����������	�
��N)�__name__�
__module__�__qualname__�__doc__�	__slots__ZELEMENT_NODEZATTRIBUTE_NODEZ	TEXT_NODEZCDATA_SECTION_NODEZENTITY_REFERENCE_NODEZENTITY_NODEZPROCESSING_INSTRUCTION_NODEZCOMMENT_NODEZ
DOCUMENT_NODEZDOCUMENT_TYPE_NODEZDOCUMENT_FRAGMENT_NODEZ
NOTATION_NODErrr�(/usr/lib64/python3.8/xml/dom/__init__.pyrs	rrrrrrrr	r
rrr
r�
���c@s eZdZdZdd�Zdd�ZdS)�DOMExceptionzmAbstract base class for DOM exceptions.
    Exceptions with specific codes are specializations of this class.cOs(|jtkrtd��tj|f|�|�dS)Nz0DOMException should not be instantiated directly)�	__class__r�RuntimeError�	Exception�__init__)�self�args�kwrrrrBs

�zDOMException.__init__cCs|jS)N)�code)rrrr�	_get_codeHszDOMException._get_codeN)rrrrrr"rrrrr>src@seZdZeZdS)�IndexSizeErrN)rrr�INDEX_SIZE_ERRr!rrrrr#Lsr#c@seZdZeZdS)�DomstringSizeErrN)rrr�DOMSTRING_SIZE_ERRr!rrrrr%Osr%c@seZdZeZdS)�HierarchyRequestErrN)rrr�HIERARCHY_REQUEST_ERRr!rrrrr'Rsr'c@seZdZeZdS)�WrongDocumentErrN)rrr�WRONG_DOCUMENT_ERRr!rrrrr)Usr)c@seZdZeZdS)�InvalidCharacterErrN)rrr�INVALID_CHARACTER_ERRr!rrrrr+Xsr+c@seZdZeZdS)�NoDataAllowedErrN)rrr�NO_DATA_ALLOWED_ERRr!rrrrr-[sr-c@seZdZeZdS)�NoModificationAllowedErrN)rrr�NO_MODIFICATION_ALLOWED_ERRr!rrrrr/^sr/c@seZdZeZdS)�NotFoundErrN)rrr�
NOT_FOUND_ERRr!rrrrr1asr1c@seZdZeZdS)�NotSupportedErrN)rrr�NOT_SUPPORTED_ERRr!rrrrr3dsr3c@seZdZeZdS)�InuseAttributeErrN)rrr�INUSE_ATTRIBUTE_ERRr!rrrrr5gsr5c@seZdZeZdS)�InvalidStateErrN)rrr�INVALID_STATE_ERRr!rrrrr7jsr7c@seZdZeZdS)�	SyntaxErrN)rrr�
SYNTAX_ERRr!rrrrr9msr9c@seZdZeZdS)�InvalidModificationErrN)rrr�INVALID_MODIFICATION_ERRr!rrrrr;psr;c@seZdZeZdS)�NamespaceErrN)rrr�
NAMESPACE_ERRr!rrrrr=ssr=c@seZdZeZdS)�InvalidAccessErrN)rrr�INVALID_ACCESS_ERRr!rrrrr?vsr?c@seZdZeZdS)�
ValidationErrN)rrr�VALIDATION_ERRr!rrrrrAysrAc@s eZdZdZdZdZdZdZdS)�UserDataHandlerzBClass giving the operation constants for UserDataHandler.handle().rrrrN)rrrrZNODE_CLONEDZ
NODE_IMPORTEDZNODE_DELETEDZNODE_RENAMEDrrrrrC|s
rCz$http://www.w3.org/XML/1998/namespacezhttp://www.w3.org/2000/xmlns/zhttp://www.w3.org/1999/xhtmlN)�getDOMImplementation�registerDOMImplementation)-rrr$r&r(r*r,r.r0r2r4r6r8r:r<r>r@rBrrr#r%r'r)r+r-r/r1r3r5r7r9r;r=r?rArCZ
XML_NAMESPACEZXMLNS_NAMESPACEZXHTML_NAMESPACEZEMPTY_NAMESPACEZEMPTY_PREFIXZdomregrDrErrrr�<module>sR


?>