Class: VORuby::ADQL::Arg

Inherits:
Object show all
Defined in:
lib/voruby/adql/parser.rb

Class Method Summary collapse

Class Method Details

.from_xml(node) ⇒ Object



22
23
24
25
26
# File 'lib/voruby/adql/parser.rb', line 22

def self.from_xml(node)
  #type_s = node.attributes['xsi:type']
  type_s = node.find_attribute('type', 'http://www.w3.org/2001/XMLSchema-instance')
  arg = ObjectBuilder.get_class_for(type_s).from_xml(node)
end