Interface ShapeSource
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BackwardChainingShapeSource,CombinedShapeSource,ForwardChainingShapeSource,RepositoryConnectionShapeSource,SailConnectionShapeSource
public interface ShapeSource extends AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classShapeSource.Predicatesstatic classShapeSource.ShapesGraph
-
Field Summary
Fields Modifier and Type Field Description static ModelDASH_CONSTANTS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Resource[]getActiveContexts()Stream<ShapeSource.ShapesGraph>getAllShapeContexts()Stream<Statement>getAllStatements(Resource id)Stream<Value>getObjects(Resource subject, ShapeSource.Predicates predicate)ValuegetRdfFirst(Resource subject)ResourcegetRdfRest(Resource subject)Stream<Resource>getSubjects(ShapeSource.Predicates predicate)Stream<Resource>getTargetableShape()booleanisType(Resource subject, IRI type)ShapeSourcewithContext(Resource[] context)
-
-
-
Field Detail
-
DASH_CONSTANTS
static final Model DASH_CONSTANTS
-
-
Method Detail
-
withContext
ShapeSource withContext(Resource[] context)
-
getActiveContexts
Resource[] getActiveContexts()
-
getAllShapeContexts
Stream<ShapeSource.ShapesGraph> getAllShapeContexts()
-
getSubjects
Stream<Resource> getSubjects(ShapeSource.Predicates predicate)
-
getObjects
Stream<Value> getObjects(Resource subject, ShapeSource.Predicates predicate)
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-