Method: WSDL::XMLSchema::Import#parse_attr

Defined in:
lib/wsdl/xmlSchema/import.rb

#parse_attr(attr, value) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/wsdl/xmlSchema/import.rb', line 40

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