In Files

  • wsdl/xmlSchema/importer.rb

Parent

Class/Module Index [+]

Quicksearch

WSDL::XMLSchema::Importer

Public Class Methods

import(location, originalroot = nil) click to toggle source
 
               # File wsdl/xmlSchema/importer.rb, line 18
def self.import(location, originalroot = nil)
  new.import(location, originalroot)
end
            
new() click to toggle source
 
               # File wsdl/xmlSchema/importer.rb, line 22
def initialize
  @web_client = nil
end
            

Public Instance Methods

import(location, originalroot = nil) click to toggle source
 
               # File wsdl/xmlSchema/importer.rb, line 26
def import(location, originalroot = nil)
  unless location.is_a?(URI)
    location = URI.parse(location)
  end
  content = parse(fetch(location), location, originalroot)
  content.location = location
  content
end