org.apache.clerezza.rdf.core.impl.util
Class PrivilegedMGraphWrapper
java.lang.Object
org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper
org.apache.clerezza.rdf.core.impl.util.PrivilegedMGraphWrapper
- All Implemented Interfaces:
- Iterable<Triple>, Collection<Triple>, MGraph, TripleCollection
public class PrivilegedMGraphWrapper
- extends PrivilegedTripleCollectionWrapper
- implements MGraph
Calls the methods of the wrapped MGraph as privileged
code, because they may need permissions like writing to disk or accessing
network.
- Author:
- mir
| Methods inherited from class org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper |
add, addAll, addGraphListener, addGraphListener, clear, contains, containsAll, filter, isEmpty, iterator, remove, removeAll, removeGraphListener, retainAll, size, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.clerezza.rdf.core.MGraph |
equals |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
PrivilegedMGraphWrapper
public PrivilegedMGraphWrapper(MGraph wrappedMGraph)
getGraph
public Graph getGraph()
- Description copied from interface:
MGraph
- Returns the graph
- Specified by:
getGraph in interface MGraph
- Returns:
- graph
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.