ok
Direktori : /opt/alt/python35/lib64/python3.5/xml/sax/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/xml/sax/__pycache__/handler.cpython-35.opt-2.pyc |
���]b6 � @ s� d Z Gd d � d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z d Z d Z d Z d Z d Z d Z e e e e e e g Z d Z d Z d Z d Z d Z d Z e e e e e e g Z d S)z2.0betac @ s4 e Z d Z d d � Z d d � Z d d � Z d S)�ErrorHandlerc C s | � d S)N� )�self� exceptionr r �,/opt/alt/python35/lib64/python3.5/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 Z d Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�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 � 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"