Class Rdf4jShaclShapeGraphShapeSource
java.lang.Object
org.eclipse.rdf4j.sail.shacl.wrapper.shape.Rdf4jShaclShapeGraphShapeSource
- All Implemented Interfaces:
AutoCloseable
,ShapeSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.sail.shacl.wrapper.shape.ShapeSource
ShapeSource.Predicates, ShapeSource.ShapesGraph
-
Field Summary
Fields inherited from interface org.eclipse.rdf4j.sail.shacl.wrapper.shape.ShapeSource
DASH_CONSTANTS
-
Constructor Summary
ConstructorDescriptionRdf4jShaclShapeGraphShapeSource
(RepositoryConnection connection) Rdf4jShaclShapeGraphShapeSource
(SailConnection connection) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Resource[]
getObjects
(Resource subject, ShapeSource.Predicates predicate) getRdfFirst
(Resource subject) getRdfRest
(Resource subject) getSubjects
(ShapeSource.Predicates predicate) boolean
withContext
(Resource[] context)
-
Constructor Details
-
Rdf4jShaclShapeGraphShapeSource
-
Rdf4jShaclShapeGraphShapeSource
-
-
Method Details
-
withContext
- Specified by:
withContext
in interfaceShapeSource
-
getActiveContexts
- Specified by:
getActiveContexts
in interfaceShapeSource
-
getAllShapeContexts
- Specified by:
getAllShapeContexts
in interfaceShapeSource
-
getTargetableShape
- Specified by:
getTargetableShape
in interfaceShapeSource
-
isType
- Specified by:
isType
in interfaceShapeSource
-
getSubjects
- Specified by:
getSubjects
in interfaceShapeSource
-
getObjects
- Specified by:
getObjects
in interfaceShapeSource
-
getAllStatements
- Specified by:
getAllStatements
in interfaceShapeSource
-
getRdfFirst
- Specified by:
getRdfFirst
in interfaceShapeSource
-
getRdfRest
- Specified by:
getRdfRest
in interfaceShapeSource
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceShapeSource
-