# File lib/wsdl/xmlSchema/complexRestriction.rb, line 54 54: def check_type 55: if @base == ::SOAP::ValueArrayName 56: :TYPE_ARRAY 57: else 58: basetype.check_type if basetype 59: end 60: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 42 42: def choice? 43: @content and @content.choice? 44: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 34 34: def elementformdefault 35: parent.elementformdefault 36: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 46 46: def elements 47: @content ? @content.elements : XSD::NamedElements::Empty 48: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 38 38: def have_any? 39: @content and @content.have_any? 40: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 50 50: def nested_elements 51: @content ? @content.nested_elements : XSD::NamedElements::Empty 52: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 88 88: def parse_attr(attr, value) 89: case attr 90: when BaseAttrName 91: @base = value 92: end 93: end
# File lib/wsdl/xmlSchema/complexRestriction.rb, line 62 62: def parse_element(element) 63: case element 64: when AllName 65: @content = All.new 66: @content 67: when SequenceName 68: @content = Sequence.new 69: @content 70: when ChoiceName 71: @content = Choice.new 72: @content 73: when AttributeName 74: o = Attribute.new 75: @attributes << o 76: o 77: when AttributeGroupName 78: o = AttributeGroup.new 79: @attributes << o 80: o 81: when AnyAttributeName 82: o = AnyAttribute.new 83: @attributes << o 84: o 85: end 86: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.