public abstract class AbstractInMemOWLOntologyFactory extends java.lang.Object implements OWLOntologyFactory
OWLOntologyFactory.OWLOntologyCreationHandler
Constructor and Description |
---|
AbstractInMemOWLOntologyFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateFromDocumentIRI(IRI documentIRI)
Determines if the factory can create an ontology for the specified ontology document IRI.
|
OWLOntology |
createOWLOntology(OWLOntologyID ontologyID,
IRI documentIRI,
OWLOntologyFactory.OWLOntologyCreationHandler handler)
Creates an empty ontology that a concrete representation can be
parsed into.
|
OWLOntologyManager |
getOWLOntologyManager() |
void |
setOWLOntologyManager(OWLOntologyManager owlOntologyManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLoad, loadOWLOntology, loadOWLOntology
public void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
setOWLOntologyManager
in interface OWLOntologyFactory
owlOntologyManager
- the ontology manager to set. Cannot be null.public OWLOntologyManager getOWLOntologyManager()
getOWLOntologyManager
in interface OWLOntologyFactory
public boolean canCreateFromDocumentIRI(IRI documentIRI)
OWLOntologyFactory
canCreateFromDocumentIRI
in interface OWLOntologyFactory
documentIRI
- The document IRItrue
if the factory can create an ontology given the specified document IRI,
or false
if the factory cannot create an ontology given the specified document IRI.public OWLOntology createOWLOntology(OWLOntologyID ontologyID, IRI documentIRI, OWLOntologyFactory.OWLOntologyCreationHandler handler) throws OWLOntologyCreationException
createOWLOntology
in interface OWLOntologyFactory
documentIRI
- the document IRIontologyID
- the ontology idhandler
- the creation handlerOWLOntologyCreationException
- if the ontology could not be created.