public class ParsableOWLOntologyFactory extends AbstractInMemOWLOntologyFactory
OWLParserFactory objects that are
obtained from the OWLParserFactoryRegistry.OWLOntologyFactory.OWLOntologyCreationHandler| Constructor and Description |
|---|
ParsableOWLOntologyFactory()
Creates an ontology factory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateFromDocumentIRI(IRI documentIRI)
Overriden - We don't create new empty ontologies - this isn't our
responsibility.
|
boolean |
canLoad(OWLOntologyDocumentSource documentSource)
Determines if the factory can load an ontology for the specified input
souce.
|
OWLOntology |
createOWLOntology(URI ontologyURI,
URI physicalURI)
Deprecated.
|
List<OWLParser> |
getParsers() |
OWLOntology |
loadOWLOntology(OWLOntologyDocumentSource documentSource,
OWLOntologyFactory.OWLOntologyCreationHandler mediator)
Creates and loads an
OWLOntology. |
OWLOntology |
loadOWLOntology(OWLOntologyDocumentSource documentSource,
OWLOntologyFactory.OWLOntologyCreationHandler mediator,
OWLOntologyLoaderConfiguration configuration)
Creates and loads an
OWLOntology. |
createOWLOntology, getOWLOntologyManager, setOWLOntologyManagerpublic ParsableOWLOntologyFactory()
public List<OWLParser> getParsers()
public boolean canCreateFromDocumentIRI(IRI documentIRI)
canCreateFromDocumentIRI in interface OWLOntologyFactorycanCreateFromDocumentIRI in class AbstractInMemOWLOntologyFactorydocumentIRI - ignored@Deprecated public OWLOntology createOWLOntology(URI ontologyURI, URI physicalURI)
ontologyURI - ignoredphysicalURI - ignoredpublic boolean canLoad(OWLOntologyDocumentSource documentSource)
OWLOntologyFactorydocumentSource - The input source from which to load the ontologytrue if the factory can load from the specified input
source.public OWLOntology loadOWLOntology(OWLOntologyDocumentSource documentSource, OWLOntologyFactory.OWLOntologyCreationHandler mediator, OWLOntologyLoaderConfiguration configuration) 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 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 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.Copyright © 2014 The University of Manchester. All Rights Reserved.