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 Details

    • DefaultShapesGraphProvider

      public DefaultShapesGraphProvider()
  • Method Details