ó
¸Jc           @   s`   d  Z  d d l m Z d d l Td d l Td d l m Z e e  Z d e f d     YZ	 d S(   s'   
Provides basic I{marshaller} classes.
i˙˙˙˙(   t	   getLogger(   t   *(   t   Coret   Basicc           B   s   e  Z d  Z d d  Z RS(   s*   
    A I{basic} (untyped) marshaller.
    c         C   s+   t  d | d |  } t j |  |  } | S(   s  
        Process (marshal) the tag with the specified value using the
        optional type information.
        @param value: The value (content) of the XML node.
        @type value: (L{Object}|any)
        @param tag: The (optional) tag name for the value.  The default is
            value.__class__.__name__
        @type tag: str
        @return: An xml node.
        @rtype: L{Element}
        t   tagt   value(   t   ContentR   t   process(   t   selfR   R   t   contentt   result(    (    sG   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/basic.pyR   "   s    N(   t   __name__t
   __module__t   __doc__t   NoneR   (    (    (    sG   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/basic.pyR      s   N(
   R   t   loggingR    t   sudst   suds.mxt   suds.mx.coreR   R   t   logR   (    (    (    sG   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/mx/basic.pyt   <module>   s   

