ok
Direktori : /opt/alt/python38/lib64/python3.8/xml/sax/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/xml/sax/__pycache__/handler.cpython-38.opt-2.pyc |
U .��cb6 � @ s� d Z G dd� d�ZG dd� d�ZG dd� d�ZG dd� d�Zd Zd ZdZdZd Z dZ eeeee e gZdZdZ dZdZdZdZeee eeegZdS )z2.0betac @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�ErrorHandlerc C s |�d S �N� ��selfZ exceptionr r �4/opt/alt/python38/lib64/python3.8/xml/sax/handler.py�error s zErrorHandler.errorc C s |�d S r r r r r r � fatalError$ s zErrorHandler.fatalErrorc C s t |� d S r )�printr r r r �warning( s zErrorHandler.warningN)�__name__� __module__�__qualname__r r r r r r r r s r c @ s| e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� ZdS )�ContentHandlerc C s d | _ d S r �Z_locator�r r r r �__init__6 s zContentHandler.__init__c C s || _ d S r r )r Zlocatorr r r �setDocumentLocator9 s z!ContentHandler.setDocumentLocatorc C s d S r r r r r r � startDocumentP s zContentHandler.startDocumentc C s d S r r r r r r �endDocumentW s zContentHandler.endDocumentc C s d S r r )r �prefixZurir r r �startPrefixMapping` s z!ContentHandler.startPrefixMappingc C s d S r r )r r r r r �endPrefixMappingw s zContentHandler.endPrefixMappingc C s d S r r )r �name�attrsr r r �startElement~ s zContentHandler.startElementc C s d S r r �r r r r r � endElement� s zContentHandler.endElementc C s d S r r )r r �qnamer r r r �startElementNS� s zContentHandler.startElementNSc C s d S r r )r r r r r r �endElementNS� s zContentHandler.endElementNSc C s d S r r )r Zcontentr r r � characters� s zContentHandler.charactersc C s d S r r )r Z whitespacer r r �ignorableWhitespace� s z"ContentHandler.ignorableWhitespacec C s d S r r )r �target�datar r r �processingInstruction� s z$ContentHandler.processingInstructionc C s d S r r r r r r � skippedEntity� s zContentHandler.skippedEntityN)r r r r r r r r r r r r r r r! r$ r% r r r r r / s r c @ s e Zd Zdd� Zdd� ZdS )� DTDHandlerc C s d S r r )r r �publicId�systemIdr r r �notationDecl� s zDTDHandler.notationDeclc C s d S r r )r r r'