Interface ConstraintExecutor

    • Method Detail

      • executeConstraint

        void executeConstraint​(Constraint constraint,
                               ValidationEngine engine,
                               Collection<org.apache.jena.rdf.model.RDFNode> focusNodes)
        Validates 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 ValidationEngine
        focusNodes - the collection of focus nodes - should not contain duplicates