Class: WSDL::XMLSchema::Include
- Inherits:
-
Info
show all
- Defined in:
- lib/wsdl/xmlSchema/include.rb
Instance Attribute Summary
Attributes inherited from Info
#id, #parent, #root
Instance Method Summary
collapse
Methods inherited from Info
#inspect, #parse_epilogue
Constructor Details
Returns a new instance of Include.
20
21
22
23
|
# File 'lib/wsdl/xmlSchema/include.rb', line 20
def initialize
super
@handler = ImportHandler.new
end
|
Instance Method Details
29
30
31
|
# File 'lib/wsdl/xmlSchema/include.rb', line 29
def content
@handler.content
end
|
#parse_attr(attr, value) ⇒ Object
37
38
39
40
41
42
43
44
|
# File 'lib/wsdl/xmlSchema/include.rb', line 37
def parse_attr(attr, value)
case attr
when SchemaLocationAttrName
@handler.parse_schemalocation(value.source, root, parent)
else
nil
end
end
|
#parse_element(element) ⇒ Object
33
34
35
|
# File 'lib/wsdl/xmlSchema/include.rb', line 33
def parse_element(element)
nil
end
|
#schemalocation ⇒ Object
25
26
27
|
# File 'lib/wsdl/xmlSchema/include.rb', line 25
def schemalocation
@handler.schemalocation
end
|