Class ShaclUtils
java.lang.Object
de.gwdg.metadataqa.marc.cli.utils.ShaclUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRulePathMap(de.gwdg.metadataqa.api.configuration.SchemaConfiguration schema) static <T extends Shacl4bibParameters>
de.gwdg.metadataqa.api.rule.RuleCatalogsetupRuleCatalog(de.gwdg.metadataqa.api.configuration.SchemaConfiguration schema, T parameters) Instantiates a RuleCataloguestatic <T extends Shacl4bibParameters>
de.gwdg.metadataqa.api.configuration.SchemaConfigurationsetupSchema(String shaclConfigurationFile) Reads the schema from file
-
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
-