Class CrossrefNativeAPI
- java.lang.Object
-
- org.vivoweb.webapp.createandlink.crossref.CrossrefNativeAPI
-
public class CrossrefNativeAPI extends Object
Interface to CrossRef's native API
-
-
Constructor Summary
Constructors Constructor Description CrossrefNativeAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfindInExternal(String id, Citation citation)Find the DOI in CrossRef, filling the citation objectResourceModelmakeResourceModel(String externalResource)Create a full resource model from the external resource (JSON)
-
-
-
Method Detail
-
findInExternal
public String findInExternal(String id, Citation citation)
Find the DOI in CrossRef, filling the citation object- Parameters:
id-citation-- Returns:
-
makeResourceModel
public ResourceModel makeResourceModel(String externalResource)
Create a full resource model from the external resource (JSON)- Parameters:
externalResource-- Returns:
-
-