
    f,                     *    d Z ddlmZ  G d de      Zy)zR

Revision information:
$Id: _Element.py 40218 2005-11-18 14:39:19Z andreasjung $
    )objectc                   2    e Zd ZddZd Zd Zd Zd Zd Zy)	ElementNc                 f    |s|r|j                  d      dk\  r|}d}|| _        || _        i | _        y)z*Create an 'attribute' description
         r   N)find__name____doc___Element__tagged_values)selfr	   r
   s      j/var/dept/share/cheung/public_html/OutSchool/python/env/lib/python3.12/site-packages/Interface/_Element.py__init__zElement.__init__   s9     8c(:a(?GH!    c                     | j                   S )z! Returns the name of the object. )r	   r   s    r   getNamezElement.getName(   s    }}r   c                     | j                   S )z+ Returns the documentation for the object. )r
   r   s    r   getDoczElement.getDoc,   s    ||r   c                      | j                   |   S )z* Returns the value associated with 'tag'. r   )r   tags     r   getTaggedValuezElement.getTaggedValue0   s    ##C((r   c                 6    | j                   j                         S )z Returns a list of all tags. )r   keysr   s    r   getTaggedValueTagszElement.getTaggedValueTags4   s    ##((**r   c                 "    || j                   |<   y)z  Associates 'value' with 'key'. Nr   )r   r   values      r   setTaggedValuezElement.setTaggedValue8   s    $)S!r   )N )	r	   
__module____qualname__r   r   r   r   r   r    r   r   r   r      s     	")+*r   r   N)r
   _objectr   r   r"   r   r   <module>r$      s    $*f $*r   