Class: WSDL::Types
Instance Attribute Summary (collapse)
-
- (Object) schemas
readonly
Returns the value of attribute schemas.
Attributes inherited from Info
Instance Method Summary (collapse)
-
- (Types) initialize
constructor
A new instance of Types.
- - (Object) parse_attr(attr, value)
- - (Object) parse_element(element)
Methods inherited from Info
Constructor Details
- (Types) initialize
A new instance of Types
18 19 20 21 |
# File 'lib/wsdl/types.rb', line 18 def initialize super @schemas = [] end |
Instance Attribute Details
- (Object) schemas (readonly)
Returns the value of attribute schemas
16 17 18 |
# File 'lib/wsdl/types.rb', line 16 def schemas @schemas end |
Instance Method Details
- (Object) parse_attr(attr, value)
38 39 40 |
# File 'lib/wsdl/types.rb', line 38 def parse_attr(attr, value) nil end |
- (Object) parse_element(element)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/wsdl/types.rb', line 23 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 |