Package org.dspace.importer.external.metadatamapping.contributor
package org.dspace.importer.external.metadatamapping.contributor
Contains the classes used to map between retrieved records and actual usable
MetadatumDTO
Classes are used in the spring config of implementations of
AbstractMetadataFieldMapping
which query to an element in the retrieved record and map it to a metadatafield.- Author:
- Roeland Dillen (roeland at atmire dot com), Jonas Van Goolen (jonas at atmire dot com)
-
ClassDescriptionAn abstract implementation of
JsonPathMetadataProcessorthat processes JSON data using a JSONPath expression.This Processor allows to extract attribute values of an array.A metadata contributor that applies a givenMetadataContributorto each object within a JSON array at a specified path.Scopus specific implementation ofMetadataContributorResponsible for generating the ScopusID, orcid, author name and affiliationID from the retrieved item.Wrapper class used to accommodate for the possibility of correlations between multiple MetadatumContributor objectsA metadata contributor that extracts a value from JSON using aJsonPathMetadataProcessorand compares it against a predefined right operand.A simple JsonPath Metadata processor that allow extract value from json object by configuring the path in the query variable via the bean.This class implements functionalities to handle common situation regarding plain metadata.Custom MetadataContributor to manage Epo ID.This class maps EPO's response metadata needs to extract epo ID..Service interface class for processing json object.This Processor allows to map text values to controlled list of vocabularies using some mapConverterThis Processor allows to extract all values of a matrix.MetadataContributor<RecordType>This Contributor is helpful to avoid the limit of the Live Import Framework.Scopus specific implementation ofMetadataContributorResponsible for generating the Scopus startPage and endPage from the retrieved item.A generic JSON metadata processor that extracts a string value from a JSON node using a specified JSONPath and applies a regex-based replacement.This contributor replace specific character in the metadata value.A ROR JsonPath Metadata processor that should be configured inside theror-integration.xmlfile.This contributor is able to concat multi value.A simple JsonPath Metadata processor that allow extract value from json object by configuring the path in the query variable via the bean.Metadata contributor that takes an PlainMetadataSourceDto instance and turns it into a collection of metadatumWeb of Science specific implementation ofMetadataContributor.This contributor extends SimpleRisToMetadataContributor, in particular, this one is able to chain multi values into a single oneMetadata contributor that takes a record defined as Map<String,List> and turns it into metadatums configured in fieldToMetadata This contributor can be used when parsing an XML file, particularly to extract a date and convert it to a specific format.This contributor checks for each node returned for the supplied path if node contains supplied attribute - the value of the current node is taken if exist.Metadata contributor that takes a JDOM Element and turns it into a metadatumWrapper class used to split another MetadataContributor's output into distinct values.Web Of Science specific implementation ofMetadataContributorThis contributor checks for each node returned for the given path if the node contains "this.attribute" and then checks if the attribute value is one of the values configured in the "this.attributeValue2metadata" map, if the value of the current known is taken.This contributor can retrieve the identifiers configured in "this.identifire2field" from the Web of Science response.Web Of Science specific implementation ofMetadataContributor