Class: WSDL::XMLSchema::List
Instance Attribute Summary collapse
-
#itemtype ⇒ Object
readonly
Returns the value of attribute itemtype.
-
#local_simpletype ⇒ Object
readonly
Returns the value of attribute local_simpletype.
Attributes inherited from Info
Instance Method Summary collapse
-
#initialize ⇒ List
constructor
A new instance of List.
- #parse_attr(attr, value) ⇒ Object
- #parse_element(element) ⇒ Object
Methods inherited from Info
Constructor Details
#initialize ⇒ List
Returns a new instance of List.
20 21 22 23 24 |
# File 'lib/wsdl/xmlSchema/list.rb', line 20 def initialize super() @itemtype = nil @local_simpletype = nil end |
Instance Attribute Details
#itemtype ⇒ Object (readonly)
Returns the value of attribute itemtype.
17 18 19 |
# File 'lib/wsdl/xmlSchema/list.rb', line 17 def itemtype @itemtype end |
#local_simpletype ⇒ Object (readonly)
Returns the value of attribute local_simpletype.
18 19 20 |
# File 'lib/wsdl/xmlSchema/list.rb', line 18 def local_simpletype @local_simpletype end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'lib/wsdl/xmlSchema/list.rb', line 36 def parse_attr(attr, value) case attr when ItemTypeAttrName @itemtype = value else nil end end |
#parse_element(element) ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/wsdl/xmlSchema/list.rb', line 26 def parse_element(element) case element when SimpleTypeName @local_simpletype = SimpleType.new @local_simpletype else nil end end |