class WSDL::XMLSchema::Choice
Attributes
any[R]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/wsdl/xmlSchema/choice.rb, line 19 def initialize super() @any = nil end
Public Instance Methods
choice?()
click to toggle source
# File lib/wsdl/xmlSchema/choice.rb, line 28 def choice? true end
have_any?()
click to toggle source
# File lib/wsdl/xmlSchema/choice.rb, line 24 def have_any? !!@any end
parse_element(element)
click to toggle source
Calls superclass method
# File lib/wsdl/xmlSchema/choice.rb, line 32 def parse_element(element) case element when SequenceName o = Sequence.new @elements << o o when ChoiceName o = Choice.new @elements << o o when GroupName o = Group.new @elements << o o when AnyName @any = Any.new @elements << @any @any else super(element) end end