Interface ShapeSource
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BackwardChainingShapeSource
,CombinedShapeSource
,Rdf4jShaclShapeGraphShapeSource
,RepositoryConnectionShapeSource
,SailConnectionShapeSource
public interface ShapeSource extends java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ShapeSource.Predicates
static class
ShapeSource.ShapesGraph
-
Field Summary
Fields Modifier and Type Field Description static Model
DASH_CONSTANTS
-
Method Summary
-
-
-
Field Detail
-
DASH_CONSTANTS
static final Model DASH_CONSTANTS
-
-
Method Detail
-
resourceAsModel
private static Model resourceAsModel(java.lang.String filename)
-
getRsxDataAndShapesGraphLink
static java.util.stream.Stream<ShapeSource.ShapesGraph> getRsxDataAndShapesGraphLink(SailConnection connection, Resource[] context)
-
getRsxDataAndShapesGraphLink
static java.util.stream.Stream<ShapeSource.ShapesGraph> getRsxDataAndShapesGraphLink(RepositoryConnection connection, Resource[] context)
-
withContext
ShapeSource withContext(Resource[] context)
-
getActiveContexts
Resource[] getActiveContexts()
-
getAllShapeContexts
java.util.stream.Stream<ShapeSource.ShapesGraph> getAllShapeContexts()
-
getTargetableShape
java.util.stream.Stream<Resource> getTargetableShape()
-
getSubjects
java.util.stream.Stream<Resource> getSubjects(ShapeSource.Predicates predicate)
-
getObjects
java.util.stream.Stream<Value> getObjects(Resource subject, ShapeSource.Predicates predicate)
-
close
void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-