public interface ShapeManager
| 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> |
getShapesByTargetClass(org.openrdf.model.URI targetClass)
Get the list of shapes that have a given scope class.
|
List<Shape> |
listShapes()
Get the list of all shapes known to this ShapeManager.
|
Shape getShapeById(org.openrdf.model.Resource shapeId)
List<Shape> listShapes()
List<Shape> getShapesByTargetClass(org.openrdf.model.URI targetClass)
targetClass - The Class of interestvoid addShape(Shape shape) throws UnnamedResourceException
shape - The shape being added.UnnamedResourceException - If the shape is identified by a BNode.Copyright © 2019. All rights reserved.