Package org.topbraid.shacl.arq
Class SHACLFunctions
- java.lang.Object
-
- org.topbraid.shacl.arq.SHACLFunctions
-
public class SHACLFunctions extends Object
Manages globally registered SHACL functions, usually loaded from .api.* files.- Author:
- Holger Knublauch
-
-
Constructor Summary
Constructors Constructor Description SHACLFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.jena.rdf.model.ModelgetGlobalFunctions()static 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)
-
-
-
Method Detail
-
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)
-
-