Class: Datacite::Mapping::GeoLocationBoxNode
- Inherits:
-
GeoLocationNode
- Object
- XML::Mapping::SingleAttributeNode
- GeoLocationNode
- Datacite::Mapping::GeoLocationBoxNode
- Defined in:
- lib/datacite/mapping/geo_location_box.rb
Overview
XML mapping node for <geoLocationBox/>
Instance Attribute Summary
Attributes inherited from GeoLocationNode
Instance Method Summary collapse
-
#initialize(*args) ⇒ GeoLocationBoxNode
constructor
A new instance of GeoLocationBoxNode.
Methods inherited from GeoLocationNode
#datacite_3?, #extract_attr_value, #set_attr_value
Constructor Details
#initialize(*args) ⇒ GeoLocationBoxNode
Returns a new instance of GeoLocationBoxNode.
136 137 138 139 140 141 142 143 |
# File 'lib/datacite/mapping/geo_location_box.rb', line 136 def initialize(*args) @geom_class = GeoLocationBox @coord_elements = { west_longitude: 'westBoundLongitude', east_longitude: 'eastBoundLongitude', south_latitude: 'southBoundLatitude', north_latitude: 'northBoundLatitude' }.freeze super end |