Package org.topbraid.shacl.validation
Class ValidationEngineFactory
- java.lang.Object
-
- org.topbraid.shacl.validation.ValidationEngineFactory
-
public class ValidationEngineFactory extends Object
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 Constructor Description ValidationEngineFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationEnginecreate(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)
-
-
-
Method Detail
-
get
public static ValidationEngineFactory get()
-
set
public static void set(ValidationEngineFactory value)
-
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
-
-