| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.6/xml/dom/__pycache__/ |
Upload File : |
3
\�2 � @ s� d Z ddlZddlZddlZddlmZ dddgZG dd� d�ZG d d� d�Z d
d� Z
G dd� de�ZG d
d� de�Z
G dd� d�Z[G dd� d�ZG dd� d�Z[G dd� d�ZdS )z4Implementation of the DOM Level 3 'LS-Load' feature.� N)�
NodeFilter�
DOMBuilder�DOMEntityResolver�DOMInputSourcec @ s\ e Zd ZdZdZdZdZdZdZdZ dZ
dZdZdZ
dZdZdZdZdZdZdZdZdZdS )�Optionsz�Features object that has variables set for each DOMBuilder feature.
The DOMBuilder class uses an instance of this class to pass settings to
the ExpatBuilder class.
� TFN)�__name__�
__module__�__qualname__�__doc__�
namespaces�namespace_declarations�
validation�external_parameter_entities�external_general_entitiesZexternal_dtd_subset�validate_if_schemaZvalidate�datatype_normalization�create_entity_ref_nodes�entities�whitespace_in_element_content�cdata_sections�comments�charset_overrides_xml_encoding�infoset�supported_mediatypes_only�errorHandler�filter� r r �"/usr/lib64/python3.6/xmlbuilder.pyr
s( r c 5 @ sV e Zd ZdZdZdZdZdZdZdZ eeee fZ
dd� Zdd � Zd
d� Z
dd
� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd4d5gd6d7gd8d9gd:d;gd<d=gd>d?gd@dAgdBdCgdDdEgdFdGgdHdIdJgdKdLgdMdNgdOdPgdQdRgdSdTgdUdVgdWdXgdYdZgd[d\gd]g d^d_d`dadbdcdddedfdgg dhdigdjdkgdldmgiZd*d+� Zd,d-� Zd.d/� Zd0d1� Zd2d3� ZdS )nr Nr � � � c C s t � | _d S )N)r �_options)�selfr r r �__init__: s zDOMBuilder.__init__c C s | j S )N)�entityResolver)r# r r r �_get_entityResolver= s zDOMBuilder._get_entityResolverc C s
|| _ d S )N)r% )r# r% r r r �_set_entityResolver? s zDOMBuilder._set_entityResolverc C s | j S )N)r )r# r r r �_get_errorHandlerB s zDOMBuilder._get_errorHandlerc C s
|| _ d S )N)r )r# r r r r �_set_errorHandlerD s zDOMBuilder._set_errorHandlerc C s | j S )N)r )r# r r r �_get_filterG s zDOMBuilder._get_filterc C s
|| _ d S )N)r )r# r r r r �_set_filterI s zDOMBuilder._set_filterc
C s� | j |�rv|rdpd}y| jt|�|f }W n& tk
rR tjjd|f ��Y q�X x4|D ]\}}t| j||� qZW ntjj dt
|� ��d S )Nr r zunsupported feature: %rzunknown feature: )�supportsFeature� _settings�_name_xform�KeyError�xml�dom�NotSupportedErr�setattrr"