Files

Class Index [+]

Quicksearch

WSDL::XMLSchema::Choice

Attributes

any[R]

Public Class Methods

new() click to toggle source
    # File lib/wsdl/xmlSchema/choice.rb, line 19
19:   def initialize
20:     super()
21:     @any = nil
22:   end

Public Instance Methods

choice?() click to toggle source
    # File lib/wsdl/xmlSchema/choice.rb, line 28
28:   def choice?
29:     true
30:   end
have_any?() click to toggle source
    # File lib/wsdl/xmlSchema/choice.rb, line 24
24:   def have_any?
25:     !!@any
26:   end
parse_element(element) click to toggle source
    # File lib/wsdl/xmlSchema/choice.rb, line 32
32:   def parse_element(element)
33:     case element
34:     when SequenceName
35:       o = Sequence.new
36:       @elements << o
37:       o
38:     when ChoiceName
39:       o = Choice.new
40:       @elements << o
41:       o
42:     when GroupName
43:       o = Group.new
44:       @elements << o
45:       o
46:     when AnyName
47:       @any = Any.new
48:       @elements << @any
49:       @any
50:     else
51:       super(element)
52:     end
53:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.