edu.stanford.smi.protegex.owl.jena.graph
Class JenaModelFactory
java.lang.Object
edu.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
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 |
JenaModelFactory
public JenaModelFactory()
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