# File lib/wsdl/xmlSchema/complexExtension.rb, line 59 59: def attributes 60: basetype.attributes + @attributes 61: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 63 63: def check_type 64: if @base == ::SOAP::ValueArrayName 65: :TYPE_ARRAY 66: elsif content or !@attributes.empty? 67: :TYPE_STRUCT 68: else 69: basetype.check_type 70: end 71: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 41 41: def choice? 42: content and content.choice? 43: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 33 33: def elementformdefault 34: parent.elementformdefault 35: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 45 45: def elements 46: result = XSD::NamedElements.new 47: result.concat(basetype.elements) 48: result.concat(content.elements) if content 49: result 50: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 37 37: def have_any? 38: basetype.have_any? or (content && content.have_any?) 39: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 52 52: def nested_elements 53: result = XSD::NamedElements.new 54: result.concat(basetype.nested_elements) 55: result.concat(content.nested_elements) if content 56: result 57: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 99 99: def parse_attr(attr, value) 100: case attr 101: when BaseAttrName 102: @base = value 103: end 104: end
# File lib/wsdl/xmlSchema/complexExtension.rb, line 73 73: def parse_element(element) 74: case element 75: when AllName 76: @content = All.new 77: @content 78: when SequenceName 79: @content = Sequence.new 80: @content 81: when ChoiceName 82: @content = Choice.new 83: @content 84: when AttributeName 85: o = Attribute.new 86: @attributes << o 87: o 88: when AttributeGroupName 89: o = AttributeGroup.new 90: @attributes << o 91: o 92: when AnyAttributeName 93: o = AnyAttribute.new 94: @attributes << o 95: o 96: end 97: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.