java.lang.Object
org.apache.jena.permissions.Factory
The factory that can be used to create an instance of a SecuredGraph or a
SecuredModel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SecuredGraph
getInstance
(SecurityEvaluator securityEvaluator, String graphIRI, org.apache.jena.graph.Graph graph) Create an instance of the SecuredGraphstatic SecuredModel
getInstance
(SecurityEvaluator securityEvaluator, String modelIRI, org.apache.jena.rdf.model.Model model) Get an instance of SecuredModel
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getInstance
public static SecuredGraph getInstance(SecurityEvaluator securityEvaluator, String graphIRI, org.apache.jena.graph.Graph graph) Create an instance of the SecuredGraph- Parameters:
securityEvaluator
- The security evaluator to usegraphIRI
- The IRI for the graph.graph
- The graph that we are wrapping.- Returns:
- the graph secured under the name graphIRI
-
getInstance
public static SecuredModel getInstance(SecurityEvaluator securityEvaluator, String modelIRI, org.apache.jena.rdf.model.Model model) Get an instance of SecuredModel- Parameters:
securityEvaluator
- The security evaluator to usemodelIRI
- The securedModel IRI (graph IRI) to evaluate against.model
- The model to secure.- Returns:
- the model secured under the name modelIRI
-