edu.stanford.smi.protegex.owl.jena.graph
Class JenaModelFactory

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.jena.graph.JenaModelFactory

public class JenaModelFactory
extends Object

A totally experimental class to create a Jena Model for a given OWLModel.

Author:
Holger Knublauch

Constructor Summary
JenaModelFactory()
           
 
Method Summary
static com.hp.hpl.jena.rdf.model.Model createModel(OWLModel owlModel)
          Creates a new Jena Model from a given OWLModel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenaModelFactory

public JenaModelFactory()
Method Detail

createModel

public static com.hp.hpl.jena.rdf.model.Model createModel(OWLModel owlModel)
Creates a new Jena Model from a given OWLModel. This Model will directly reflect the structure of the underlying OWLModel for query purposes. It will not be possible to write to this Model.

Parameters:
owlModel - the OWLModel to get a Model for
Returns:
a (read-only) Model