public class OWLAPIOntology extends AbstractKnowledgeSource implements OWLOntologyKnowledgeSource
Constructor and Description |
---|
OWLAPIOntology(org.semanticweb.owlapi.model.OWLOntology ontology) |
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLOntology |
createOWLOntology(org.semanticweb.owlapi.model.OWLOntologyManager manager)
Create an OWL Ontology associated with the specified manager.
|
OntologyToByteConverter |
getConverter()
Get the OntologyToByteConverter associated with this object.
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology() |
void |
init()
Method to be called after the component has been configured.
|
void |
setConverter(OntologyToByteConverter converter)
Set the OntologyToByteConverter associated with this object.
|
isInitialized
public OWLAPIOntology(org.semanticweb.owlapi.model.OWLOntology ontology)
public org.semanticweb.owlapi.model.OWLOntology createOWLOntology(org.semanticweb.owlapi.model.OWLOntologyManager manager)
OWLOntologyKnowledgeSource
createOWLOntology
in interface OWLOntologyKnowledgeSource
manager
- The manager to associate the new ontology with.public void init()
Component
public OntologyToByteConverter getConverter()
public void setConverter(OntologyToByteConverter converter)
converter
- the OntologyToByteConverter to associate with this object.public org.semanticweb.owlapi.model.OWLOntology getOntology()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann