Class ArXivIdMetadataContributor

java.lang.Object
org.dspace.importer.external.metadatamapping.contributor.SimpleXpathMetadatumContributor
org.dspace.importer.external.arxiv.metadatamapping.contributor.ArXivIdMetadataContributor
All Implemented Interfaces:
MetadataContributor<org.jdom2.Element>

public class ArXivIdMetadataContributor extends SimpleXpathMetadatumContributor
Arxiv specific implementation of MetadataContributor Responsible for generating the ArXiv Id from the retrieved item.
Author:
Pasquale Cavallo (pasquale.cavallo at 4science dot it)
  • Constructor Details

    • ArXivIdMetadataContributor

      public ArXivIdMetadataContributor()
  • Method Details

    • contributeMetadata

      public Collection<MetadatumDTO> contributeMetadata(org.jdom2.Element t)
      Retrieve the metadata associated with the given object. Depending on the retrieved node (using the query), different types of values will be added to the MetadatumDTO list
      Specified by:
      contributeMetadata in interface MetadataContributor<org.jdom2.Element>
      Overrides:
      contributeMetadata in class SimpleXpathMetadatumContributor
      Parameters:
      t - A class to retrieve metadata from.
      Returns:
      a collection of import records. Only the identifier of the found records may be put in the record.