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 Details

  • Constructor Details

    • DataCiteXMLCreator

      public DataCiteXMLCreator()
  • Method Details

    • 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()
    • main

      public static void main(String[] argv) throws Exception
      Test the operation of this class.
      Parameters:
      argv -
      [0]: handle of an object for which to prepare XML metadata.
      Throws:
      Exception - if error