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
525 526 527 |
# File 'lib/libis/tools/mets_objects.rb', line 525 def div @div end |
#is_logical ⇒ Object
Is the structmap Logical (true) or Physical(false)?
527 528 529 |
# File 'lib/libis/tools/mets_objects.rb', line 527 def is_logical @is_logical end |
#representation ⇒ Object
The representation this structmap is for
523 524 525 |
# File 'lib/libis/tools/mets_objects.rb', line 523 def representation @representation end |
Instance Method Details
#xml_id ⇒ Object
The id that will be used in the XML file to reference this structmap.
530 531 532 |
# File 'lib/libis/tools/mets_objects.rb', line 530 def xml_id "smap-#{@id}" end |