public class CrossrefCreateAndLinkResourceProvider extends Object implements CreateAndLinkResourceProvider
| Constructor and Description |
|---|
CrossrefCreateAndLinkResourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
ExternalIdentifiers |
allExternalIDsForFind(String externalId)
Resolve the DOI into other external identifiers
|
String |
findInExternal(String id,
Citation citation)
Look up the DOI in CrossRef, and populate a citation object
|
String |
getLabel()
Label for the UI
|
ResourceModel |
makeResourceModel(String externalId,
String externalResource)
Create an internmediate model of the external resource (JSON string)
|
String |
normalize(String id)
Make a normalized version of the ID
|
public CrossrefCreateAndLinkResourceProvider()
public String normalize(String id)
normalize in interface CreateAndLinkResourceProviderid - public String getLabel()
getLabel in interface CreateAndLinkResourceProviderpublic ExternalIdentifiers allExternalIDsForFind(String externalId)
allExternalIDsForFind in interface CreateAndLinkResourceProviderexternalId - public String findInExternal(String id, Citation citation)
findInExternal in interface CreateAndLinkResourceProviderid - citation - public ResourceModel makeResourceModel(String externalId, String externalResource)
makeResourceModel in interface CreateAndLinkResourceProviderexternalId - externalResource - Copyright © 2022. All rights reserved.