Module: VORuby::ADQL::V1_0

Includes:
XMLUtilities
Defined in:
lib/voruby/adql/1.0/adql.rb

Defined Under Namespace

Classes: AggregateFunction, AggregateFunctionName, AliasSelectionItem, AllOrDistinct, AllSelectionItem, ArchiveTable, Atom, BetweenPred, BinaryExpr, BinaryOperator, ClosedExpr, ClosedSearch, ColumnReference, Comparison, ComparisonPred, ConstantListSet, DropTable, ExclusiveSearch, From, FromTable, Function, GroupBy, Having, IncludeTable, InclusionSet, InclusiveSearch, IntegerLiteral, IntersectionSearch, Into, InverseSearch, JoinTable, JointTableQualifier, LikePred, Literal, MathFunction, MathFunctionName, NotBetweenPred, NotLikePred, NumberLiteral, Order, OrderDirection, OrderExpression, OrderOption, RealLiteral, RegionSearch, ScalarExpression, Search, Select, SelectionItem, SelectionLimit, SelectionList, SelectionOption, StringLiteral, SubQuerySet, Table, TrigonometricFunction, TrigonometricFunctionName, UnaryExpr, UnaryOperator, UnionSearch, UserDefinedFunction, Where, XMatch, XMatchTableAlias

Instance Method Summary collapse

Methods included from XMLUtilities

#collapse_namespaces, #current_module, #element_from, #element_name_from, #find_class_with_name, #find_classes_of_type, #find_elements, #obj_ns, #xml_to_obj, #xpath_for

Instance Method Details

#element_root(name, type = nil) ⇒ Object



10
11
12
# File 'lib/voruby/adql/1.0/adql.rb', line 10

def element_root(name, type=nil)
  element(name, nil, {:include_xsi => true, :type => type || self.class.xml_type})
end