ó
f#ñ]c           @  sŽ  d  d l  m Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l	 j
 j Z e j
 j j d ƒ Z d Z e j e k r² e j e ƒ ‚ n  e j
 j j ƒ  Z d  d l Z d  d l Z e j j d d e ƒZ e j d d g ƒ e j j j j Z e j d d g ƒ d d d	 „ Z! d d
 „ Z" d e j# j$ j% f d „  ƒ  YZ& e& e _& e j' d d e& ƒ d e j# j$ j% f d „  ƒ  YZ( e( e _( e j' d d e( ƒ d e j# j$ j% f d „  ƒ  YZ) e) e _) d e j# j$ j% f d „  ƒ  YZ* e* e _* d e j# j$ j% f d „  ƒ  YZ+ e+ e _+ e j# j$ j, e j j- e d ƒ e& d e j
 j j. d d d ƒ ƒZ/ e j' d e/ j0 ƒ  j1 ƒ  e/ ƒ e j# j$ j, e j j- e d ƒ e( d e j
 j j. d d d ƒ ƒZ2 e j' d e2 j0 ƒ  j1 ƒ  e2 ƒ e j# j$ j, e j j- e d ƒ e) d e j
 j j. d d d ƒ ƒZ3 e j' d e3 j0 ƒ  j1 ƒ  e3 ƒ e j# j$ j, e j j- e d  ƒ e* d e j
 j j. d d! d ƒ ƒZ4 e j' d e4 j0 ƒ  j1 ƒ  e4 ƒ e j# j$ j, e j j- e d" ƒ e+ d e j
 j j. d d# d ƒ ƒZ5 e j' d e5 j0 ƒ  j1 ƒ  e5 ƒ e) j6 e j# j$ j, e j j- e d$ ƒ e j j j j7 d% e) d e j
 j j. d& d' d( ƒ ƒƒ d) „  a8 t8 ƒ  e) _9 d S(*   iÿÿÿÿ(   t   unicode_literalsNu-   urn:uuid:604174ea-9099-11e7-b77e-3497f68b2e96u   1.2.6u-   http://www.w3.org/2007/02/addressing/metadatat   create_if_missingu   typeBindingu   elementBindingc         C  sÒ   t  j t  j k r: t  j j j |  ƒ } t | j d | ƒS| d k rU t	 j
 ƒ  } n  t  j j j d | d | ƒ } | j ƒ  } |  } t | t j ƒ r¬ | j t  j ƒ } n  | j t j | ƒ ƒ | j ƒ  } | S(   uý  Parse the given XML and use the document element to create a
    Python instance.

    @param xml_text An XML document.  This should be data (Python 2
    str or Python 3 bytes), or a text (Python 2 unicode or Python 3
    str) in the L{pyxb._InputEncoding} encoding.

    @keyword default_namespace The L{pyxb.Namespace} instance to use as the
    default namespace where there is no default namespace in scope.
    If unspecified or C{None}, the namespace of the module containing
    this function will be used.

    @keyword location_base: An object to be recorded as the base of all
    L{pyxb.utils.utility.Location} instances associated with events and
    objects handled by the parser.  You might pass the URI from which
    the document was obtained.
    t   default_namespacet   fallback_namespacet   location_baseN(   t   pyxbt   XMLStyle_saxert	   _XMLStylet   utilst   domutilst   StringToDOMt   CreateFromDOMt   documentElementt   Nonet	   Namespacet   fallbackNamespacet   bindingt   saxert   make_parsert   getContentHandlert
   isinstancet   _sixt	   text_typet   encodet   _InputEncodingt   parset   iot   BytesIOt
   rootObject(   t   xml_textR   R   t   domR   t   handlert   xmldt   instance(    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyt   CreateFromDocument'   s    c         C  s4   | d k r t j ƒ  } n  t j j j j |  | ƒ S(   uÖ   Create a Python instance from the given DOM node.
    The node tag must correspond to an element declaration in this module.

    @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.N(   R   R   R   R   R   t   basist   elementt   AnyCreateFromDOM(   t   nodeR   (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyR   H   s    t   ServiceNameTypec           B  sa  e  Z d  Z e j j j Z e j j j	 j
 Z e Z e j j e d ƒ Z e j j j d d d ƒ Z i  Z i  Z e j j j e j j d d ƒ d d e j j j ƒ Z e j j j d d d ƒ e _ e j j j d d d ƒ e _ e e j  e j! d d ƒ Z" e j j j# d	 e j j j# j$ d
 e j j j# j% d f ƒ Z& e j' i  ƒ e j' i e e j( ƒ  6ƒ RS(   ud   Complex type {http://www.w3.org/2007/02/addressing/metadata}ServiceNameType with content type SIMPLEu   ServiceNameTypeuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi   i   u   EndpointNameuE   __httpwww_w3_org200702addressingmetadata_ServiceNameType_EndpointNamei   i   t   process_contentst   namespace_constraintu-   http://www.w3.org/2007/02/addressing/metadataN()   t   __name__t
   __module__t   __doc__R   R   t	   datatypest   QNamet   _TypeDefinitionR#   t   complexTypeDefinitiont
   _CT_SIMPLEt   _ContentTypeTagt   Falset	   _Abstractt	   namespacet   ExpandedNameR   t   _ExpandedNameR   t   utilityt   Locationt   _XSDLocationt   _ElementMapt   _AttributeMapt   contentt   AttributeUseR   t   NCNamet   _ServiceNameType__EndpointNamet   _DeclarationLocationt   _UseLocationt   propertyt   valuet   sett   EndpointNamet   Wildcardt   PC_laxt   NC_nott   _AttributeWildcardt   updatet   name(    (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyR'   S   s    6<	u   ServiceNameTypet   AttributedQNameTypec           B  sÇ   e  Z d  Z e j j j Z e j j j	 j
 Z e Z e j j e d ƒ Z e j j j d d d ƒ Z i  Z i  Z e j j j d e j j j j d e j j j j d f ƒ Z e j i  ƒ e j i  ƒ RS(   uh   Complex type {http://www.w3.org/2007/02/addressing/metadata}AttributedQNameType with content type SIMPLEu   AttributedQNameTypeuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi!   i   R(   R)   u-   http://www.w3.org/2007/02/addressing/metadata(   R*   R+   R,   R   R   R-   R.   R/   R#   R0   R1   R2   R3   R4   R5   R6   R   R7   R   R8   R9   R:   R;   R<   R=   RG   RH   RI   RJ   RK   (    (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyRM   q   s   <u   AttributedQNameTypet   CTD_ANONc        	   B  s  e  Z d  Z d Z e j j j j	 Z
 e Z d Z e j j j d d d ƒ Z i  Z i  Z e j j j e j j e d ƒ d d e e j j j d d d ƒ ƒ Z e e j e j d d ƒ Z e j j j d	 e j j j j d
 e j j j j  d f ƒ Z! e j" i e e j# ƒ  6ƒ e j" i  ƒ RS(   u7   Complex type [anonymous] with content type ELEMENT_ONLYuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi.   i   u   PolicyuU   __httpwww_w3_org200702addressingmetadata_CTD_ANON_httpwww_w3_org200607ws_policyPolicyuK   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsp200607.xsdi   i   R(   R)   u-   http://www.w3.org/2007/02/addressing/metadataN($   R*   R+   R,   R   R/   R   R   R#   R0   t   _CT_ELEMENT_ONLYR2   R3   R4   R7   R   R8   R9   R:   R;   R<   R=   t   ElementDeclarationR5   R6   t
   _Namespacet   _CTD_ANON__PolicyRC   RD   RE   t   PolicyRG   RH   RI   RJ   RK   RL   (    (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyRN   ‡   s   E<	t	   CTD_ANON_c           B  s¯   e  Z d  Z d Z e j j j j	 Z
 e Z d Z e j j j d d d ƒ Z i  Z i  Z e j j j d e j j j j d e j j j j d f ƒ Z e j i  ƒ e j i  ƒ RS(   u0   Complex type [anonymous] with content type EMPTYuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi7   i   R(   R)   u-   http://www.w3.org/2007/02/addressing/metadataN(   R*   R+   R,   R   R/   R   R   R#   R0   t	   _CT_EMPTYR2   R3   R4   R7   R   R8   R9   R:   R;   R<   R=   RG   RH   RI   RJ   RK   (    (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyRT   £   s   <t
   CTD_ANON_2c           B  s¯   e  Z d  Z d Z e j j j j	 Z
 e Z d Z e j j j d d d ƒ Z i  Z i  Z e j j j d e j j j j d e j j j j d f ƒ Z e j i  ƒ e j i  ƒ RS(   u0   Complex type [anonymous] with content type EMPTYuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi=   i   R(   R)   u-   http://www.w3.org/2007/02/addressing/metadataN(   R*   R+   R,   R   R/   R   R   R#   R0   RU   R2   R3   R4   R7   R   R8   R9   R:   R;   R<   R=   RG   RH   RI   RJ   RK   (    (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyRV   ¸   s   <u   ServiceNamet   locationuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi   i   u   InterfaceNamei    u
   Addressingi-   u   AnonymousResponsesi6   u   NonAnonymousResponsesi<   u   Policyt   scopeuK   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsp200607.xsdi   i   c          C  sÌ   b  d d  l j j }  t ƒ  } g  } t ƒ  } t j j j t	 j
 t j j t d ƒ ƒ t j j j d d d ƒ ƒ } |  j | d t d | d t ƒ} | j | ƒ g  } | j | ƒ |  j | | t d	 d  ƒS(
   Niÿÿÿÿu   PolicyuF   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsam.xsdi0   i   t
   is_initialt   final_updatet   is_unordered_catenationt   containing_state(   t   _BuildAutomatont   pyxb.utils.facR   t   facRE   R   R   R=   t
   ElementUseRN   t
   _UseForTagR5   R6   RQ   R8   R9   t   Statet   TrueR3   t   appendt   _set_transitionSett	   AutomatonR   (   R_   t   counterst   statesRZ   t   symbolt   st_0t   transitions(    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyR]   ß   s    		E!(:   t
   __future__R    R   t   pyxb.bindingt   pyxb.binding.saxerR   t   pyxb.utils.utilityt   pyxb.utils.domutilst   syst   pyxb.utils.sixR   t   sixR   R8   t   UniqueIdentifiert   _GenerationUIDt   _PyXBVersiont   __version__t   PyXBVersionErrort   Objectt   _module_typeBindingst   pyxb.bundles.wssplat.wsp200607t   pyxb.binding.datatypesR5   t   NamespaceForURIRc   R   t   configureCategoriest   bundlest   wssplatt	   wsp200607RQ   R   R"   R   R   R#   R0   R'   t   addCategoryObjectRM   RN   RT   RV   R$   R6   R9   t   ServiceNameRL   t	   localNamet   InterfaceNamet
   Addressingt   AnonymousResponsest   NonAnonymousResponsest   _AddElementt
   CTD_ANON_3R]   t
   _Automaton(    (    (    sR   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/wsam.pyt   <module>   s\   !					BBBBB[	