home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 October / maximum-cd-2011-10.iso / DiscContents / digsby_setup.exe / lib / msn / SOAP / xml / wsp.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2011-06-22  |  2.9 KB  |  65 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. import ZSI
  5. import ZSI.TCcompound as ZSI
  6. import ZSI.wstools.Namespaces as NS
  7. from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
  8. from ZSI.generate.pyclass import pyclass_type
  9.  
  10. class wsp:
  11.     targetNamespace = NS.WSP.POLICY
  12.     
  13.     class AppliesTo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
  14.         literal = 'AppliesTo'
  15.         schema = NS.WSP.POLICY
  16.         
  17.         def __init__(self, **kw):
  18.             ns = wsp.AppliesTo_Dec.schema
  19.             TClist = [
  20.                 GED(NS.WSA.ADDRESS, 'EndpointReference', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  21.             kw['pname'] = (NS.WSP.POLICY, 'AppliesTo')
  22.             kw['aname'] = '_AppliesTo'
  23.             self.attribute_typecode_dict = { }
  24.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, inorder = 0, **kw)
  25.             
  26.             class Holder(()):
  27.                 __metaclass__ = pyclass_type
  28.                 typecode = self
  29.                 
  30.                 def __init__(self):
  31.                     self._EndpointReference = None
  32.  
  33.  
  34.             Holder.__name__ = 'AppliesTo_Holder'
  35.             self.pyclass = Holder
  36.  
  37.  
  38.     
  39.     class PolicyReference_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
  40.         literal = 'PolicyReference'
  41.         schema = NS.WSP.POLICY
  42.         
  43.         def __init__(self, **kw):
  44.             ns = wsp.PolicyReference_Dec.schema
  45.             TClist = []
  46.             kw['pname'] = (NS.WSP.POLICY, 'PolicyReference')
  47.             kw['aname'] = '_PolicyReference'
  48.             self.attribute_typecode_dict = { }
  49.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, inorder = 0, **kw)
  50.             self.attribute_typecode_dict['URI'] = ZSI.TC.String()
  51.             
  52.             class Holder(()):
  53.                 __metaclass__ = pyclass_type
  54.                 typecode = self
  55.                 
  56.                 def __init__(self):
  57.                     pass
  58.  
  59.  
  60.             Holder.__name__ = 'PolicyReference_Holder'
  61.             self.pyclass = Holder
  62.  
  63.  
  64.  
  65.