public class MemoryShapeManager extends Object implements ShapeManager
| Constructor and Description |
|---|
MemoryShapeManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addShape(Shape shape)
Add a Shape to this manager.
|
Shape |
getShapeById(org.openrdf.model.Resource shapeId) |
List<Shape> |
getShapesByPredicate(org.openrdf.model.URI predicate) |
List<Shape> |
getShapesByTargetClass(org.openrdf.model.URI targetClass)
Get the list of shapes that have a given scope class.
|
void |
link()
Scan the shapes in the manager and set the valueShapes so that the reference a Shape object.
|
List<Shape> |
listShapes()
Get the list of all shapes known to this ShapeManager.
|
public Shape getShapeById(org.openrdf.model.Resource shapeId)
getShapeById in interface ShapeManagerpublic void addShape(Shape shape)
ShapeManageraddShape in interface ShapeManagershape - The shape being added.public void link()
public List<Shape> getShapesByTargetClass(org.openrdf.model.URI targetClass)
ShapeManagergetShapesByTargetClass in interface ShapeManagertargetClass - The Class of interestpublic List<Shape> listShapes()
ShapeManagerlistShapes in interface ShapeManagerCopyright © 2019. All rights reserved.