Class: VORuby::ADQL::SelectionItem

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

Overview

The abstract base type for any of items to be selected in a query.

Class Method Summary collapse

Class Method Details

.from_xml(node) ⇒ Object



66
67
68
69
70
# File 'lib/voruby/adql/adql.rb', line 66

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