Class: WSDL::Types
Instance Attribute Summary collapse
-
#schemas ⇒ Object
readonly
Returns the value of attribute schemas.
Attributes inherited from Info
Instance Method Summary collapse
-
#initialize ⇒ Types
constructor
A new instance of Types.
- #parse_attr(attr, value) ⇒ Object
- #parse_element(element) ⇒ Object
Methods inherited from Info
Constructor Details
#initialize ⇒ Types
Returns a new instance of Types.
19 20 21 22 |
# File 'lib/wsdl/types.rb', line 19 def initialize super @schemas = [] end |
Instance Attribute Details
#schemas ⇒ Object (readonly)
Returns the value of attribute schemas.
17 18 19 |
# File 'lib/wsdl/types.rb', line 17 def schemas @schemas end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
39 40 41 |
# File 'lib/wsdl/types.rb', line 39 def parse_attr(attr, value) nil end |
#parse_element(element) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/wsdl/types.rb', line 24 def parse_element(element) case element when SchemaName o = XMLSchema::Schema.new o.location = parent.location @schemas << o o when DocumentationName o = Documentation.new o else nil end end |