Class WSDL::XMLSchema::All
In: lib/wsdl/xmlSchema/all.rb
Parent: Info

Methods

Attributes

elements  [R] 
maxoccurs  [R] 
minoccurs  [R] 

Public Class methods

[Source]

    # File lib/wsdl/xmlSchema/all.rb, line 21
21:   def initialize
22:     super()
23:     @minoccurs = '1'
24:     @maxoccurs = '1'
25:     @elements = []
26:   end

Public Instance methods

[Source]

    # File lib/wsdl/xmlSchema/all.rb, line 36
36:   def <<(element)
37:     @elements << element
38:   end

[Source]

    # File lib/wsdl/xmlSchema/all.rb, line 32
32:   def elementformdefault
33:     parent.elementformdefault
34:   end

[Source]

    # File lib/wsdl/xmlSchema/all.rb, line 55
55:   def parse_attr(attr, value)
56:     case attr
57:     when MaxOccursAttrName
58:       @maxoccurs = value.source
59:     when MinOccursAttrName
60:       @minoccurs = value.source
61:     else
62:       nil
63:     end
64:   end

[Source]

    # File lib/wsdl/xmlSchema/all.rb, line 40
40:   def parse_element(element)
41:     case element
42:     when AnyName
43:       o = Any.new
44:       @elements << o
45:       o
46:     when ElementName
47:       o = Element.new
48:       @elements << o
49:       o
50:     else
51:       nil
52:     end
53:   end

[Source]

    # File lib/wsdl/xmlSchema/all.rb, line 28
28:   def targetnamespace
29:     parent.targetnamespace
30:   end

[Validate]