ó
<-Kc           @   s0   d  Z  d d l m Z d e f d     YZ d S(   sC   
Provides modules containing classes to support
marshalling (XML).
i˙˙˙˙(   t   Objectt   Contentc           B   s,   e  Z d  Z g  Z d d d  Z d   Z RS(   s   
    Marshaller Content.
    @ivar tag: The content tag.
    @type tag: str
    @ivar value: The content's value.
    @type value: I{any}
    c         K   sP   t  j |   | |  _ | |  _ x* | j   D] \ } } t |  | |  q, Wd S(   s   
        @param tag: The content tag.
        @type tag: str
        @param value: The content's value.
        @type value: I{any}
        N(   R    t   __init__t   tagt   valuet   itemst   setattr(   t   selfR   R   t   kwargst   kt   v(    (    sJ   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/__init__.pyR   $   s
    		c         C   sX   | |  j  k rG | |  j k r7 d  } t |  | |  qT t d |  n |  j  | } | S(   Ns   Content has no attribute %s(   t   __dict__t
   extensionst   NoneR   t   AttributeError(   R   t   nameR
   (    (    sJ   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/__init__.pyt   __getattr__1   s    N(   t   __name__t
   __module__t   __doc__R   R   R   R   (    (    (    sJ   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/__init__.pyR      s   N(   R   t   suds.sudsobjectR    R   (    (    (    sJ   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/__init__.pyt   <module>   s   