Package org.dspace.identifier
Class DataCiteXMLCreator
java.lang.Object
org.dspace.identifier.DataCiteXMLCreator
Provide XML based metadata crosswalk for EZID Identifier provider module.
- Author:
- mohideen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringName of crosswalk to convert metadata into DataCite Metadata Scheme.protected ParameterizedDisseminationCrosswalkDisseminationCrosswalk to map local metadata into DataCite metadata. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetXMLString(Context context, DSpaceObject dso) static voidTest the operation of this class.protected voidvoidsetDisseminationCrosswalkName(String CROSSWALK_NAME) Set the name of the dissemination crosswalk used to convert the metadata into DataCite Metadata Schema.
-
Field Details
-
CROSSWALK_NAME
Name of crosswalk to convert metadata into DataCite Metadata Scheme. -
xwalk
DisseminationCrosswalk to map local metadata into DataCite metadata. The name of the crosswalk is set bysetDisseminationCrosswalkNamewhich instantiates the crosswalk.
-
-
Constructor Details
-
DataCiteXMLCreator
public DataCiteXMLCreator()
-
-
Method Details
-
getXMLString
-
setDisseminationCrosswalkName
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() -
main
Test the operation of this class.- Parameters:
argv-
[0]: handle of an object for which to prepare XML metadata.- Throws:
Exception- if error
-