Class: Libis::Tools::MetsFile::Map
- Includes:
- MetsObject
- Defined in:
- lib/libis/tools/mets_objects.rb
Overview
Container class for creating a structmap in the METS.
Instance Attribute Summary collapse
-
#div ⇒ Object
The top division in the structmap.
-
#is_logical ⇒ Object
Is the structmap Logical (true) or Physical(false)?.
-
#representation ⇒ Object
The representation this structmap is for.
Instance Method Summary collapse
-
#xml_id ⇒ Object
The id that will be used in the XML file to reference this structmap.
Methods included from MetsObject
#id, #initialize, #set_from_hash, #set_id, #to_s
Instance Attribute Details
#div ⇒ Object
The top division in the structmap
533 534 535 |
# File 'lib/libis/tools/mets_objects.rb', line 533 def div @div end |
#is_logical ⇒ Object
Is the structmap Logical (true) or Physical(false)?
535 536 537 |
# File 'lib/libis/tools/mets_objects.rb', line 535 def is_logical @is_logical end |
#representation ⇒ Object
The representation this structmap is for
531 532 533 |
# File 'lib/libis/tools/mets_objects.rb', line 531 def representation @representation end |
Instance Method Details
#xml_id ⇒ Object
The id that will be used in the XML file to reference this structmap.
538 539 540 |
# File 'lib/libis/tools/mets_objects.rb', line 538 def xml_id "smap-#{@id}" end |