Class MCRIView2XSLFunctions

java.lang.Object
org.mycore.iview2.frontend.MCRIView2XSLFunctions

public class MCRIView2XSLFunctions extends Object
Author:
Thomas Scheffler (yagee)
  • Constructor Details

    • MCRIView2XSLFunctions

      public MCRIView2XSLFunctions()
  • Method Details

    • hasMETSFile

      public static boolean hasMETSFile(String derivateID)
    • getSupportedMainFile

      public static String getSupportedMainFile(String derivateID)
    • getOptions

      public static String getOptions(String derivateID, String extensions)
    • getSupportedMainFileByOwner

      public static String getSupportedMainFileByOwner(String mcrID)
      Get the full path of the main file of the first derivate.
      Returns:
      the mainfile of the first derivate related to the given mcrid or null if there are no derivates related to the given mcrid
    • getThumbnailURL

      public static String getThumbnailURL(String derivate, String imagePath)
    • getOrder

      public static int getOrder(Node metsDiv)