Package org.topbraid.shacl.arq
Class SHACLFunctions
java.lang.Object
org.topbraid.shacl.arq.SHACLFunctions
Manages globally registered SHACL functions, usually loaded from .api.* files.
- Author:
- Holger Knublauch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.rdf.model.Modelstatic voidregisterFunction(org.apache.jena.rdf.model.Resource resource) Registers a single SHACL function declared as a sh:Function.static voidregisterFunctions(org.apache.jena.rdf.model.Model model) Registers all SHACL functions from a given Model.static voidregisterGlobalFunctions(org.apache.jena.rdf.model.Model model)
-
Constructor Details
-
SHACLFunctions
public SHACLFunctions()
-
-
Method Details
-
getGlobalFunctions
public static org.apache.jena.rdf.model.Model getGlobalFunctions() -
registerFunction
public static void registerFunction(org.apache.jena.rdf.model.Resource resource) Registers a single SHACL function declared as a sh:Function.- Parameters:
resource- the function resource
-
registerFunctions
public static void registerFunctions(org.apache.jena.rdf.model.Model model) Registers all SHACL functions from a given Model.- Parameters:
model- the Model to register the functions from
-
registerGlobalFunctions
public static void registerGlobalFunctions(org.apache.jena.rdf.model.Model model)
-