Package org.apache.jena.sparql.graph
Class UnmodifiableGraph
- java.lang.Object
-
- org.apache.jena.graph.impl.WrappedGraph
-
- org.apache.jena.sparql.graph.UnmodifiableGraph
-
- All Implemented Interfaces:
Graph,GraphWithPerform
public class UnmodifiableGraph extends WrappedGraph
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableGraph(Graph base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformAdd(Triple triple)voidperformDelete(Triple triple)Graphunwrap()Return base graph that this class protects.-
Methods inherited from class org.apache.jena.graph.impl.WrappedGraph
add, clear, close, contains, contains, delete, dependsOn, find, find, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, getWrapped, isClosed, isEmpty, isIsomorphicWith, remove, size
-
-
-
-
Constructor Detail
-
UnmodifiableGraph
public UnmodifiableGraph(Graph base)
-
-
Method Detail
-
unwrap
public Graph unwrap()
Return base graph that this class protects. Caveat emptor.
-
performAdd
public void performAdd(Triple triple)
- Specified by:
performAddin interfaceGraphWithPerform- Overrides:
performAddin classWrappedGraph
-
performDelete
public void performDelete(Triple triple)
- Specified by:
performDeletein interfaceGraphWithPerform- Overrides:
performDeletein classWrappedGraph
-
-