# File lib/wsdl/xmlSchema/simpleType.rb, line 35 35: def base 36: if @restriction 37: @restriction.base 38: else 39: nil 40: end 41: end
# File lib/wsdl/xmlSchema/simpleType.rb, line 23 23: def check_lexical_format(value) 24: if @restriction 25: check_restriction(value) 26: elsif @list 27: # TODO: check 28: elsif @union 29: # TODO: check 30: else 31: raise ArgumentError.new("incomplete simpleType") 32: end 33: end
# File lib/wsdl/xmlSchema/simpleType.rb, line 69 69: def parse_attr(attr, value) 70: case attr 71: when NameAttrName 72: @name = XSD::QName.new(targetnamespace, value.source) 73: end 74: end
# File lib/wsdl/xmlSchema/simpleType.rb, line 55 55: def parse_element(element) 56: case element 57: when RestrictionName 58: @restriction = SimpleRestriction.new 59: @restriction 60: when ListName 61: @list = List.new 62: @list 63: when UnionName 64: @union = Union.new 65: @union 66: end 67: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.