Class PrefixUtil

java.lang.Object
org.topbraid.shacl.util.PrefixUtil

public class PrefixUtil extends Object
Utilities related to querying and updating prefix declarations based on sh:declare.
Author:
Holger Knublauch
  • Constructor Details

    • PrefixUtil

      public PrefixUtil()
  • Method Details

    • addNamespace

      public static org.apache.jena.rdf.model.Resource addNamespace(org.apache.jena.rdf.model.Resource ontology, String prefix, String namespace)
    • getImportedNamespace

      public static String getImportedNamespace(org.apache.jena.rdf.model.Resource ontology, String prefix)
    • getNamespace

      public static String getNamespace(org.apache.jena.rdf.model.Resource ontology, String prefix)