Class: ONIX::ONIX21::MediaFile

Inherits:
SubsetDSL show all
Defined in:
lib/onix/onix21.rb

Instance Method Summary collapse

Methods inherited from SubsetDSL

get_class, ref_to_short, short_to_ref

Methods inherited from SubsetDSL

_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported

Methods inherited from Subset

parse, #parse, tag_match, #tag_match, #unsupported

Constructor Details

This class inherits a constructor from ONIX::SubsetDSL

Instance Method Details

#formatObject



122
123
124
# File 'lib/onix/onix21.rb', line 122

def format
  @media_file_format_code
end


130
131
132
# File 'lib/onix/onix21.rb', line 130

def link
  @media_file_link
end


126
127
128
# File 'lib/onix/onix21.rb', line 126

def link_type
  @media_file_link_type_code
end

#typeObject



118
119
120
# File 'lib/onix/onix21.rb', line 118

def type
  @media_file_type_code
end