Class: VORuby::ADQL::Shape
Overview
Abstract Shape type. Shape definitions; Allsky, Circle, Polygon, Box, and Sector are derived from Shape; Ellipse is derived from Circle; Polygon includes also Vertex and SmallCircle
Class Method Summary collapse
Class Method Details
.from_xml(node) ⇒ Object
1637 1638 1639 1640 1641 |
# File 'lib/voruby/adql/adql.rb', line 1637 def self.from_xml(node) type_s = node.find_attribute('type', 'http://www.w3.org/2001/XMLSchema-instance') type_s = type_s.slice(type_s.index(':')+1, type_s.length) return ObjectBuilder.get_class_for(type_s).from_xml(node) end |