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.
21 22 23 24 25 |
# File 'lib/wsdl/xmlSchema/list.rb', line 21 def initialize super() @itemtype = nil @local_simpletype = nil end |
Instance Attribute Details
#itemtype ⇒ Object (readonly)
Returns the value of attribute itemtype.
18 19 20 |
# File 'lib/wsdl/xmlSchema/list.rb', line 18 def itemtype @itemtype end |
#local_simpletype ⇒ Object (readonly)
Returns the value of attribute local_simpletype.
19 20 21 |
# File 'lib/wsdl/xmlSchema/list.rb', line 19 def local_simpletype @local_simpletype end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/wsdl/xmlSchema/list.rb', line 37 def parse_attr(attr, value) case attr when ItemTypeAttrName @itemtype = value else nil end end |
#parse_element(element) ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/wsdl/xmlSchema/list.rb', line 27 def parse_element(element) case element when SimpleTypeName @local_simpletype = SimpleType.new @local_simpletype else nil end end |