public class EmptyInMemOWLOntologyFactory extends AbstractInMemOWLOntologyFactory
OWLOntologyFactory.OWLOntologyCreationHandler| Constructor and Description |
|---|
EmptyInMemOWLOntologyFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLoad(OWLOntologyDocumentSource documentSource)
Determines if the factory can load an ontology for the specified input
souce.
|
OWLOntology |
createOWLOntology(OWLOntologyID ontologyID,
IRI documentIRI,
OWLOntologyFactory.OWLOntologyCreationHandler handler)
Creates an empty ontology that a concrete representation can be parsed
into.
|
OWLOntology |
loadOWLOntology(OWLOntologyDocumentSource documentSource,
OWLOntologyFactory.OWLOntologyCreationHandler mediator)
Creates and loads an
OWLOntology. |
OWLOntology |
loadOWLOntology(OWLOntologyDocumentSource documentSource,
OWLOntologyFactory.OWLOntologyCreationHandler handler,
OWLOntologyLoaderConfiguration configuration)
Creates and loads an
OWLOntology. |
canCreateFromDocumentIRI, getOWLOntologyManager, setOWLOntologyManagerpublic OWLOntology loadOWLOntology(OWLOntologyDocumentSource documentSource, OWLOntologyFactory.OWLOntologyCreationHandler mediator) throws OWLOntologyCreationException
OWLOntologyFactoryOWLOntology.documentSource - The document source that provides the means of getting a
representation of a document.mediator - A pointer to an OWLOntologyCreationHandler which will be
notified immediately after an empty ontology has been created, but
before the source data is read and the ontology is loaded with
axioms.OWLOntologyCreationException - if the ontology could not be created.public OWLOntology loadOWLOntology(OWLOntologyDocumentSource documentSource, OWLOntologyFactory.OWLOntologyCreationHandler handler, OWLOntologyLoaderConfiguration configuration) throws OWLOntologyCreationException
OWLOntologyFactoryOWLOntology.documentSource - The document source that provides the means of getting a
representation of a document.handler - A pointer to an OWLOntologyCreationHandler which will be
notified immediately after and empty ontology has been created,
but before the source data is read and the ontology is loaded with
axioms.configuration - A configuration object which can be used to pass various options
to the loader.OWLOntologyCreationException - if the ontology could not be createdpublic OWLOntology createOWLOntology(OWLOntologyID ontologyID, IRI documentIRI, OWLOntologyFactory.OWLOntologyCreationHandler handler) throws OWLOntologyCreationException
AbstractInMemOWLOntologyFactorycreateOWLOntology in interface OWLOntologyFactorycreateOWLOntology in class AbstractInMemOWLOntologyFactoryontologyID - the ontology iddocumentIRI - the document IRIhandler - the creation handlerOWLOntologyCreationException - if the ontology could not be created.public boolean canLoad(OWLOntologyDocumentSource documentSource)
OWLOntologyFactorydocumentSource - The input source from which to load the ontologytrue if the factory can load from the specified input
source.Copyright © 2014 The University of Manchester. All Rights Reserved.