In: |
wsdl/import.rb
|
Parent: | Info |
content | [R] | |
location | [R] | |
namespace | [R] |
# File wsdl/import.rb, line 21 def initialize super @namespace = nil @location = nil @content = nil @web_client = nil end
# File wsdl/import.rb, line 39 def parse_attr(attr, value) case attr when NamespaceAttrName @namespace = value if @content @content.targetnamespace = @namespace end @namespace when LocationAttrName @location = value @content = import(@location) if @content.is_a?(Definitions) @content.root = root if @namespace @content.targetnamespace = @namespace end end @location else nil end end