Package org.topbraid.shacl.validation
Class ValidationEngineFactory
java.lang.Object
org.topbraid.shacl.validation.ValidationEngineFactory
A singleton that can be used to produce new ValidationEngines.
Implementations may install their own subclass to make some default modifications
such as attaching a monitor or label function.
- Author:
- Holger Knublauch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(org.apache.jena.query.Dataset dataset, URI shapesGraphURI, ShapesGraph shapesGraph, org.apache.jena.rdf.model.Resource report) Constructs a new ValidationEngine.static ValidationEngineFactoryget()static voidset(ValidationEngineFactory value)
-
Constructor Details
-
ValidationEngineFactory
public ValidationEngineFactory()
-
-
Method Details
-
get
-
set
-
create
public ValidationEngine create(org.apache.jena.query.Dataset dataset, URI shapesGraphURI, ShapesGraph shapesGraph, org.apache.jena.rdf.model.Resource report) Constructs a new ValidationEngine.- Parameters:
dataset- the Dataset to operate onshapesGraphURI- the URI of the shapes graph (must be in the dataset)shapesGraph- the ShapesGraph with the shapes to validate againstreport- the sh:ValidationReport object in the results Model, or null to create a new one- Returns:
- a new ValidationEngine
-