Your IP : 18.117.151.127


Current Path : /opt/alt/python34/lib64/python3.4/xml/dom/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/xml/dom/__pycache__/__init__.cpython-34.pyo

�
j f��@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@sdeZdZdZfZdZdZdZdZdZ	dZ
dZd	Zd
Z
dZdZd
ZdS)�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_NODE�rr�5/opt/alt/python34/lib64/python3.4/xml/dom/__init__.pyrs	rrrrrrrrr	r
rrr
�
���c@s.eZdZdZdd�Zdd�ZdS)�DOMExceptionzmAbstract base class for DOM exceptions.
    Exceptions with specific codes are specializations of this class.cOs5|jtkrtd��ntj|||�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>src@seZdZeZdS)�IndexSizeErrN)rrr�INDEX_SIZE_ERRr!rrrrr#Lsr#c@seZdZeZdS)�DomstringSizeErrN)rrr�DOMSTRING_SIZE_ERRr!rrrrr%Osr%c@seZdZeZdS)�HierarchyRequestErrN)rrr�HIERARCHY_REQUEST_ERRr!rrrrr'Rsr'c@seZdZeZdS)�WrongDocumentErrN)rrr�WRONG_DOCUMENT_ERRr!rrrrr)Usr)c@seZdZeZdS)�InvalidCharacterErrN)rrr�INVALID_CHARACTER_ERRr!rrrrr+Xsr+c@seZdZeZdS)�NoDataAllowedErrN)rrr�NO_DATA_ALLOWED_ERRr!rrrrr-[sr-c@seZdZeZdS)�NoModificationAllowedErrN)rrr�NO_MODIFICATION_ALLOWED_ERRr!rrrrr/^sr/c@seZdZeZdS)�NotFoundErrN)rrr�
NOT_FOUND_ERRr!rrrrr1asr1c@seZdZeZdS)�NotSupportedErrN)rrr�NOT_SUPPORTED_ERRr!rrrrr3dsr3c@seZdZeZdS)�InuseAttributeErrN)rrr�INUSE_ATTRIBUTE_ERRr!rrrrr5gsr5c@seZdZeZdS)�InvalidStateErrN)rrr�INVALID_STATE_ERRr!rrrrr7jsr7c@seZdZeZdS)�	SyntaxErrN)rrr�
SYNTAX_ERRr!rrrrr9msr9c@seZdZeZdS)�InvalidModificationErrN)rrr�INVALID_MODIFICATION_ERRr!rrrrr;psr;c@seZdZeZdS)�NamespaceErrN)rrr�
NAMESPACE_ERRr!rrrrr=ssr=c@seZdZeZdS)�InvalidAccessErrN)rrr�INVALID_ACCESS_ERRr!rrrrr?vsr?c@seZdZeZdS)�
ValidationErrN)rrr�VALIDATION_ERRr!rrrrrAysrAc@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


?>