Methods
#
E
N
P
T
Attributes
[R] elements
[R] maxoccurs
[R] minoccurs
Class Public methods
new()
# File lib/wsdl/xmlSchema/choice.rb, line 21
def initialize
  super()
  @minoccurs = '1'
  @maxoccurs = '1'
  @elements = []
end
Instance Public methods
<<(element)
# File lib/wsdl/xmlSchema/choice.rb, line 36
def <<(element)
  @elements << element
end
elementformdefault()
# File lib/wsdl/xmlSchema/choice.rb, line 32
def elementformdefault
  parent.elementformdefault
end
parse_attr(attr, value)
# File lib/wsdl/xmlSchema/choice.rb, line 55
def parse_attr(attr, value)
  case attr
  when MaxOccursAttrName
    @maxoccurs = value.source
  when MinOccursAttrName
    @minoccurs = value.source
  else
    nil
  end
end
parse_element(element)
# File lib/wsdl/xmlSchema/choice.rb, line 40
def parse_element(element)
  case element
  when AnyName
    o = Any.new
    @elements << o
    o
  when ElementName
    o = Element.new
    @elements << o
    o
  else
    nil
  end
end
targetnamespace()
# File lib/wsdl/xmlSchema/choice.rb, line 28
def targetnamespace
  parent.targetnamespace
end