Class ShaclUtils

java.lang.Object
de.gwdg.metadataqa.marc.cli.utils.ShaclUtils

public class ShaclUtils extends Object
  • Constructor Details

    • ShaclUtils

      public ShaclUtils()
  • Method Details

    • setupSchema

      public static <T extends Shacl4bibParameters> de.gwdg.metadataqa.api.configuration.SchemaConfiguration setupSchema(String shaclConfigurationFile)
      Reads the schema from file
      Type Parameters:
      T -
      Parameters:
      shaclConfigurationFile - The Shacl4bib configuration file
      Returns:
    • setupRuleCatalog

      public static <T extends Shacl4bibParameters> de.gwdg.metadataqa.api.rule.RuleCatalog setupRuleCatalog(de.gwdg.metadataqa.api.configuration.SchemaConfiguration schema, T parameters)
      Instantiates a RuleCatalogue
      Type Parameters:
      T -
      Parameters:
      schema -
      parameters -
      Returns:
    • createRulePathMap

      public static Map<String,String> createRulePathMap(de.gwdg.metadataqa.api.configuration.SchemaConfiguration schema)