| Class | WSDL::XMLSchema::SimpleExtension |
| In: |
lib/wsdl/xmlSchema/simpleExtension.rb
|
| Parent: | Info |
| attributes | [R] | |
| base | [R] |
# File lib/wsdl/xmlSchema/simpleExtension.rb, line 21
21: def initialize
22: super
23: @base = nil
24: @attributes = XSD::NamedElements.new
25: end
# File lib/wsdl/xmlSchema/simpleExtension.rb, line 44
44: def parse_attr(attr, value)
45: case attr
46: when BaseAttrName
47: @base = value
48: end
49: end
# File lib/wsdl/xmlSchema/simpleExtension.rb, line 35
35: def parse_element(element)
36: case element
37: when AttributeName
38: o = Attribute.new
39: @attributes << o
40: o
41: end
42: end
# File lib/wsdl/xmlSchema/simpleExtension.rb, line 27
27: def targetnamespace
28: parent.targetnamespace
29: end