Uses of Class
org.apache.jena.shacl.Shapes
-
-
Uses of Shapes in org.apache.jena.shacl
Methods in org.apache.jena.shacl that return Shapes Modifier and Type Method Description default ShapesShaclValidator. parse(java.lang.String filenameOrURL)Parse the shapes from a file or URL return a AST object that has all the shapes.ShapesShaclValidator. parse(Graph shapesGraph)Parse the shapes from the graph and return a AST object that has all the shapes.static ShapesShapes. parse(java.lang.String fileOrURL)Load the file, parse the graph and return the shapes.static ShapesShapes. parse(java.lang.String fileOrURL, boolean withImports)Load the file, parse the graph and return the shapes.static ShapesShapes. parse(Graph graph)Parse the graph and return the shapes connected to the targets.static ShapesShapes. parse(Model model)Parse the model and return the shapes.static ShapesShapes. parseTargets(Graph graph)Deprecated.Useparse(Graph).Methods in org.apache.jena.shacl with parameters of type Shapes Modifier and Type Method Description booleanShaclValidator. conforms(Shapes shapes, Graph data)Does the data conform to the shapes? This operation only checks whether the data is conformant or not - it does not generate a complete report.booleanShaclValidator. conforms(Shapes shapes, Graph data, Node node)Does the node within the data conform to the shapes? This operation only checks the data is conformant or not - it does not generate a complete report.static ValidationReportGraphValidation. update(Shapes shapes, Graph data, java.lang.Runnable update)Update the graph.static ValidationReportGraphValidation. updateAndReport(Shapes shapes, Graph data, java.lang.Runnable update)Update the graph.ValidationReportShaclValidator. validate(Shapes shapes, Graph data)Produce a full validation report.ValidationReportShaclValidator. validate(Shapes shapes, Graph data, Node node)Produce a full validation report for this node in the data.
-