Package org.dspace.identifier
Class DataCiteXMLCreator
- java.lang.Object
-
- org.dspace.identifier.DataCiteXMLCreator
-
public class DataCiteXMLCreator extends Object
Provide XML based metadata crosswalk for EZID Identifier provider module.- Author:
- mohideen
-
-
Field Summary
Fields Modifier and Type Field Description protected StringCROSSWALK_NAMEName of crosswalk to convert metadata into DataCite Metadata Scheme.protected ParameterizedDisseminationCrosswalkxwalkDisseminationCrosswalk to map local metadata into DataCite metadata.
-
Constructor Summary
Constructors Constructor Description DataCiteXMLCreator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetXMLString(Context context, DSpaceObject dso)static voidmain(String[] argv)Test the operation of this class.protected voidprepareXwalk()voidsetDisseminationCrosswalkName(String CROSSWALK_NAME)Set the name of the dissemination crosswalk used to convert the metadata into DataCite Metadata Schema.
-
-
-
Field Detail
-
CROSSWALK_NAME
protected String CROSSWALK_NAME
Name of crosswalk to convert metadata into DataCite Metadata Scheme.
-
xwalk
protected ParameterizedDisseminationCrosswalk xwalk
DisseminationCrosswalk to map local metadata into DataCite metadata. The name of the crosswalk is set bysetDisseminationCrosswalkNamewhich instantiates the crosswalk.
-
-
Method Detail
-
getXMLString
public String getXMLString(Context context, DSpaceObject dso)
-
setDisseminationCrosswalkName
public void setDisseminationCrosswalkName(String CROSSWALK_NAME)
Set the name of the dissemination crosswalk used to convert the metadata into DataCite Metadata Schema. Used by spring dependency injection.- Parameters:
CROSSWALK_NAME- The name of the dissemination crosswalk to use.
-
prepareXwalk
protected void prepareXwalk()
-
-