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
534 535 536 |
# File 'lib/libis/tools/mets_objects.rb', line 534 def div @div end |
#is_logical ⇒ Object
Is the structmap Logical (true) or Physical(false)?
536 537 538 |
# File 'lib/libis/tools/mets_objects.rb', line 536 def is_logical @is_logical end |
#representation ⇒ Object
The representation this structmap is for
532 533 534 |
# File 'lib/libis/tools/mets_objects.rb', line 532 def representation @representation end |
Instance Method Details
#xml_id ⇒ Object
The id that will be used in the XML file to reference this structmap.
539 540 541 |
# File 'lib/libis/tools/mets_objects.rb', line 539 def xml_id "smap-#{@id}" end |