관리-도구
편집 파일: handler.cpython-37.opt-2.pyc
B YI~db6 � @ 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� )�self� exceptionr r �4/opt/alt/python37/lib64/python3.7/xml/sax/handler.py�error s zErrorHandler.errorc C s |�d S )Nr )r r r r r � fatalError$ s zErrorHandler.fatalErrorc C s t |� d S )N)�print)r r 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 )N)�_locator)r r r r �__init__6 s zContentHandler.__init__c C s || _ d S )N)r )r Zlocatorr r r �setDocumentLocator9 s z!ContentHandler.setDocumentLocatorc C s d S )Nr )r r r r � startDocumentP s zContentHandler.startDocumentc C s d S )Nr )r r r r �endDocumentW s zContentHandler.endDocumentc C s d S )Nr )r �prefixZurir r r �startPrefixMapping` s z!ContentHandler.startPrefixMappingc C s d S )Nr )r r r r r �endPrefixMappingw s zContentHandler.endPrefixMappingc C s d S )Nr )r �name�attrsr r r �startElement~ s zContentHandler.startElementc C s d S )Nr )r r r r r � endElement� s zContentHandler.endElementc C s d S )Nr )r r �qnamer r r r �startElementNS� s zContentHandler.startElementNSc C s d S )Nr )r r r r r r �endElementNS� s zContentHandler.endElementNSc C s d S )Nr )r Zcontentr r r � characters� s zContentHandler.charactersc C s d S )Nr )r Z whitespacer r r �ignorableWhitespace� s z"ContentHandler.ignorableWhitespacec C s d S )Nr )r �target�datar r r �processingInstruction� s z$ContentHandler.processingInstructionc C s d S )Nr )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"