Class: SDL::Base::Type::Service

Inherits:
SDL::Base::Type show all
Defined in:
lib/sdl/base/type/service.rb

Instance Attribute Summary

Attributes inherited from SDL::Base::Type

#identifier, #parent, #parent_index

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SDL::Base::Type

#==, [], add_property, add_property_getter, add_property_setters, #annotated?, #annotations, class_definition_string, clear_instances!, clear_properties!, define_type, documentation_key, #documentation_key, find_subtype_recursive, #get_sdl_value, instances, instances_recursive, is_sub?, list, list_item?, local_name, local_name=, method_missing, multi_property?, name, original_name, properties, properties_hash, #property_values, propertyless?, #rdf_object, registered?, respond_to_missing?, #set_sdl_property, #set_sdl_values, single_property, single_property?, subtype, subtypes, subtypes_recursive, #to_s, to_s, xsd_element_name, xsd_type_identifier_name, xsd_type_name

Methods included from URIMappedResource

#uri

Class Method Details

.unregisterObject



3
4
5
# File 'lib/sdl/base/type/service.rb', line 3

def unregister

end

Instance Method Details

#to_rdfObject



12
13
14
# File 'lib/sdl/base/type/service.rb', line 12

def to_rdf
  SDL::Exporters::RDFExporter.new.export_service(self)
end

#to_xmlObject



8
9
10
# File 'lib/sdl/base/type/service.rb', line 8

def to_xml
  SDL::Exporters::XMLServiceExporter.new.export_service(self)
end