U
    W¨+d¶  ã                   @   s   d Z G dd„ deƒZdS )z,
Represents an SQS Attribute Name/Value set
c                   @   s$   e Zd Zdd„ Zdd„ Zdd„ ZdS )Ú
Attributesc                 C   s   || _ d | _d | _d S ©N)ÚparentÚcurrent_keyÚcurrent_value)Úselfr   © r   ú7/tmp/pip-unpacked-wheel-dlxw5sjy/boto/sqs/attributes.pyÚ__init__   s    zAttributes.__init__c                 C   s   d S r   r   )r   ÚnameÚattrsÚ
connectionr   r   r   ÚstartElement!   s    zAttributes.startElementc                 C   sF   |dkr| j | | j< n,|dkr&|| _n|dkr6|| _ nt| ||ƒ d S )NÚ	AttributeÚNameÚValue)r   r   Úsetattr)r   r
   Úvaluer   r   r   r   Ú
endElement$   s    zAttributes.endElementN)Ú__name__Ú
__module__Ú__qualname__r	   r   r   r   r   r   r   r      s   r   N)Ú__doc__Údictr   r   r   r   r   Ú<module>   s   