Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/trunk/test/wsdl/group/expectedClassdef.rb

Revision 1934, 1.1 kB (checked in by nahi, 1 year ago)
  • anonymous class support was incomplete for Array type complexType. for literal registry, scan inside of Array like complexType. closes #355.
Line 
1 require 'xsd/qname'
2
3 module WSDL; module Group
4
5
6 # {urn:grouptype}groupele_type
7 #   comment - SOAP::SOAPString
8 #   element - SOAP::SOAPString
9 #   eletype - SOAP::SOAPString
10 #   var - SOAP::SOAPString
11 #   xmlattr_attr_min - SOAP::SOAPDecimal
12 #   xmlattr_attr_max - SOAP::SOAPDecimal
13 class Groupele_type
14   AttrAttr_max = XSD::QName.new(nil, "attr_max")
15   AttrAttr_min = XSD::QName.new(nil, "attr_min")
16
17   attr_accessor :comment
18   attr_reader :__xmlele_any
19   attr_accessor :element
20   attr_accessor :eletype
21   attr_accessor :var
22
23   def set_any(elements)
24     @__xmlele_any = elements
25   end
26
27   def __xmlattr
28     @__xmlattr ||= {}
29   end
30
31   def xmlattr_attr_min
32     __xmlattr[AttrAttr_min]
33   end
34
35   def xmlattr_attr_min=(value)
36     __xmlattr[AttrAttr_min] = value
37   end
38
39   def xmlattr_attr_max
40     __xmlattr[AttrAttr_max]
41   end
42
43   def xmlattr_attr_max=(value)
44     __xmlattr[AttrAttr_max] = value
45   end
46
47   def initialize(comment = nil, element = nil, eletype = nil, var = nil)
48     @comment = comment
49     @__xmlele_any = nil
50     @element = element
51     @eletype = eletype
52     @var = var
53     @__xmlattr = {}
54   end
55 end
56
57
58 end; end
Note: See TracBrowser for help on using the browser.