class WSDL::XMLSchema::Import
Attributes
namespace[R]
Public Class Methods
new()
click to toggle source
Calls superclass method
WSDL::Info::new
# File lib/wsdl/xmlSchema/import.rb, line 21 def initialize super @namespace = nil @handler = ImportHandler.new end
Public Instance Methods
content()
click to toggle source
# File lib/wsdl/xmlSchema/import.rb, line 31 def content @handler.content end
parse_attr(attr, value)
click to toggle source
# File lib/wsdl/xmlSchema/import.rb, line 39 def parse_attr(attr, value) case attr when NamespaceAttrName @namespace = value.source when SchemaLocationAttrName @handler.parse_schemalocation(value.source, root, parent) else nil end end
parse_element(element)
click to toggle source
# File lib/wsdl/xmlSchema/import.rb, line 35 def parse_element(element) nil end
schemalocation()
click to toggle source
# File lib/wsdl/xmlSchema/import.rb, line 27 def schemalocation @handler.schemalocation end