Class DatatypeConstraintExecutor
- java.lang.Object
-
- org.topbraid.shacl.validation.AbstractNativeConstraintExecutor
-
- org.topbraid.shacl.validation.java.DatatypeConstraintExecutor
-
- All Implemented Interfaces:
ConstraintExecutor
public class DatatypeConstraintExecutor extends AbstractNativeConstraintExecutor
Validator for sh:datatype constraints.- Author:
- Holger Knublauch
-
-
Field Summary
Fields Modifier and Type Field Description static Predicate<org.apache.jena.graph.Graph>isStoredInTDB1
-
Constructor Summary
Constructors Constructor Description DatatypeConstraintExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteConstraint(Constraint constraint, ValidationEngine engine, Collection<org.apache.jena.rdf.model.RDFNode> focusNodes)Validates a collection of focus nodes against a constraint.-
Methods inherited from class org.topbraid.shacl.validation.AbstractNativeConstraintExecutor
addStatistics, hasShape
-
-
-
-
Field Detail
-
isStoredInTDB1
public static Predicate<org.apache.jena.graph.Graph> isStoredInTDB1
-
-
Method Detail
-
executeConstraint
public void executeConstraint(Constraint constraint, ValidationEngine engine, Collection<org.apache.jena.rdf.model.RDFNode> focusNodes)
Description copied from interface:ConstraintExecutorValidates a collection of focus nodes against a constraint. Implementations are typically calling engine.createValidationResult() to record results such as violations.- Parameters:
constraint- the Constraint (instance) to validate (e.g. a specific sh:datatype constraint)engine- the ValidationEnginefocusNodes- the collection of focus nodes - should not contain duplicates
-
-