Package org.topbraid.shacl.validation
Class DefaultShapesGraphProvider
- java.lang.Object
-
- org.topbraid.shacl.validation.DefaultShapesGraphProvider
-
public class DefaultShapesGraphProvider extends Object
A singleton used by ResourceConstraintValidator (and thus the tosh:hasShape function) to deliver a default shapes graph if none has been provided in the context. This is to support calling tosh:hasShape outside of a validation engine. By default, this throws an exception, but within TopBraid products this uses other heuristics to find the most suitable shapes graph.- Author:
- Holger Knublauch
-
-
Constructor Summary
Constructors Constructor Description DefaultShapesGraphProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultShapesGraphProviderget()URIgetDefaultShapesGraphURI(org.apache.jena.query.Dataset dataset)static voidset(DefaultShapesGraphProvider value)
-
-
-
Method Detail
-
get
public static DefaultShapesGraphProvider get()
-
set
public static void set(DefaultShapesGraphProvider value)
-
getDefaultShapesGraphURI
public URI getDefaultShapesGraphURI(org.apache.jena.query.Dataset dataset)
-
-