Module: Datacite::Mapping

Defined in:
lib/datacite/mapping.rb,
lib/datacite/mapping/date.rb,
lib/datacite/mapping/title.rb,
lib/datacite/mapping/rights.rb,
lib/datacite/mapping/creator.rb,
lib/datacite/mapping/subject.rb,
lib/datacite/mapping/resource.rb,
lib/datacite/mapping/date_value.rb,
lib/datacite/mapping/identifier.rb,
lib/datacite/mapping/contributor.rb,
lib/datacite/mapping/description.rb,
lib/datacite/mapping/module_info.rb,
lib/datacite/mapping/geo_location.rb,
lib/datacite/mapping/resource_type.rb,
lib/datacite/mapping/name_identifier.rb,
lib/datacite/mapping/read_only_nodes.rb,
lib/datacite/mapping/geo_location_box.rb,
lib/datacite/mapping/funding_reference.rb,
lib/datacite/mapping/geo_location_node.rb,
lib/datacite/mapping/geo_location_point.rb,
lib/datacite/mapping/related_identifier.rb,
lib/datacite/mapping/alternate_identifier.rb,
lib/datacite/mapping/geo_location_polygon.rb

Overview

Maps DataCite XML to Ruby objects

Defined Under Namespace

Modules: ReadOnlyNodes Classes: AlternateIdentifier, AwardNumber, BreakPreservingValueNode, Contributor, ContributorType, Creator, Datacite3RidTypeNode, Datacite3RidValueNode, Date, DateType, DateValue, Description, DescriptionType, FunderIdentifier, FunderIdentifierType, FundingReference, GeoLocation, GeoLocationBox, GeoLocationBoxNode, GeoLocationNode, GeoLocationPoint, GeoLocationPointNode, GeoLocationPolygon, Identifier, IdentifierNode, NameIdentifier, ReadOnlyArrayNode, ReadOnlyTextNode, RelatedIdentifier, RelatedIdentifierType, RelationType, Resource, ResourceType, ResourceTypeGeneral, Rights, Subject, Title, TitleType

Constant Summary collapse

DATACITE_3_NAMESPACE =
XML::MappingExtensions::Namespace.new(
  uri: 'http://datacite.org/schema/kernel-3',
  schema_location: 'http://schema.datacite.org/meta/kernel-3/metadata.xsd'
)
DATACITE_4_NAMESPACE =
XML::MappingExtensions::Namespace.new(
  uri: 'http://datacite.org/schema/kernel-4',
  schema_location: 'http://schema.datacite.org/meta/kernel-4/metadata.xsd'
)
DOI_PATTERN =
%r{10\.\S+/\S+}
NAME =

The name of this gem

'datacite-mapping'.freeze
VERSION =

The version of this gem

'0.2.1'.freeze
'Copyright (c) 2016 The Regents of the University of California'.freeze