public class OWLOntologyManagerImpl extends Object implements OWLOntologyManager, OWLOntologyFactory.OWLOntologyCreationHandler, Serializable
| Constructor and Description |
|---|
OWLOntologyManagerImpl(OWLDataFactory dataFactory,
ReadWriteLock readWriteLock) |
OWLOntologyManagerImpl(OWLDataFactory dataFactory,
ReadWriteLock readWriteLock,
PriorityCollectionSorting sorting) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOntology, createOntology, createOntology, createOntology, createOntology, createOntology, createOntology, getDirectImports, getImports, getImportsClosure, getNonnullOntologyFormat, getOntologies, getOntologyIDsByVersion, getVersionsgetOntologiesapplyChangesaddAxiomsremoveAxioms@Inject public OWLOntologyManagerImpl(OWLDataFactory dataFactory, ReadWriteLock readWriteLock)
dataFactory - data factoryreadWriteLock - lockpublic OWLOntologyManagerImpl(OWLDataFactory dataFactory, ReadWriteLock readWriteLock, PriorityCollectionSorting sorting)
dataFactory - data factoryreadWriteLock - locksorting - sorting optionpublic void clearOntologies()
clearOntologies in interface OWLOntologyManagerpublic OntologyConfigurator getOntologyConfigurator()
getOntologyConfigurator in interface HasOntologyConfiguratorpublic void setOntologyConfigurator(OntologyConfigurator configurator)
setOntologyConfigurator in interface HasOntologyConfiguratorpublic void setOntologyLoaderConfiguration(OWLOntologyLoaderConfiguration newConfig)
setOntologyLoaderConfiguration in interface HasOntologyLoaderConfigurationpublic void setOntologyWriterConfiguration(OWLOntologyWriterConfiguration newConfig)
setOntologyWriterConfiguration in interface HasOntologyWriterConfigurationpublic OWLOntologyLoaderConfiguration getOntologyLoaderConfiguration()
getOntologyLoaderConfiguration in interface HasOntologyLoaderConfigurationpublic OWLOntologyWriterConfiguration getOntologyWriterConfiguration()
getOntologyWriterConfiguration in interface HasOntologyWriterConfigurationpublic OWLDataFactory getOWLDataFactory()
getOWLDataFactory in interface HasDataFactorypublic java.util.stream.Stream<OWLOntology> ontologies()
ontologies in interface HasGetOntologiespublic java.util.stream.Stream<OWLOntology> ontologies(OWLAxiom axiom)
ontologies in interface OWLOntologyManagerpublic boolean contains(OWLOntology ontology)
contains in interface OWLOntologyManagerpublic boolean contains(IRI iri)
contains in interface OWLOntologyManagerpublic boolean contains(OWLOntologyID id)
contains in interface HasContainsOntologycontains in interface OWLOntologyManagerpublic boolean containsVersion(IRI iri)
containsVersion in interface OWLOntologyManagerpublic java.util.stream.Stream<OWLOntologyID> ontologyIDsByVersion(IRI iri)
ontologyIDsByVersion in interface OWLOntologyManager@Nullable public OWLOntology getOntology(IRI iri)
getOntology in interface OWLOntologyManager@Nullable public OWLOntology getOntology(OWLOntologyID id)
getOntology in interface HasGetOntologyByIdgetOntology in interface OWLOntologyManagerpublic java.util.stream.Stream<OWLOntology> versions(IRI ontology)
versions in interface OWLOntologyManager@Nullable public OWLOntology getImportedOntology(OWLImportsDeclaration declaration)
getImportedOntology in interface OWLOntologyManagerpublic java.util.stream.Stream<OWLOntology> directImports(OWLOntology ontology)
directImports in interface OWLOntologyManagerpublic java.util.stream.Stream<OWLOntology> imports(OWLOntology ontology)
imports in interface OWLOntologyManagerpublic java.util.stream.Stream<OWLOntology> importsClosure(OWLOntology ontology)
importsClosure in interface OWLOntologyManagerpublic List<OWLOntology> getSortedImportsClosure(OWLOntology ontology)
getSortedImportsClosure in interface OWLOntologyManagerpublic ChangeApplied applyChanges(List<? extends OWLOntologyChange> changes)
applyChanges in interface HasApplyChangespublic ChangeApplied addAxiom(OWLOntology ont, OWLAxiom axiom)
addAxiom in interface HasAddAxiompublic ChangeApplied addAxioms(OWLOntology ont, java.util.stream.Stream<? extends OWLAxiom> axioms)
addAxioms in interface HasAddAxiomspublic ChangeApplied removeAxiom(OWLOntology ont, OWLAxiom axiom)
removeAxiom in interface HasRemoveAxiompublic ChangeApplied removeAxioms(OWLOntology ont, java.util.stream.Stream<? extends OWLAxiom> axioms)
removeAxioms in interface HasRemoveAxiomspublic ChangeApplied applyChange(OWLOntologyChange change)
applyChange in interface HasApplyChangepublic void ontologyCreated(OWLOntology ontology)
ontologyCreated in interface OWLOntologyFactory.OWLOntologyCreationHandlerpublic void setOntologyFormat(OWLOntology ontology, OWLDocumentFormat ontologyFormat)
setOntologyFormat in interface OWLOntologyFactory.OWLOntologyCreationHandlersetOntologyFormat in interface OWLOntologyManager@Nullable public OWLDocumentFormat getOntologyFormat(OWLOntology ontology)
getOntologyFormat in interface OWLOntologyManagerpublic OWLOntology createOntology(OWLOntologyID ontologyID) throws OWLOntologyCreationException
createOntology in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology createOntology(IRI ontologyIRI, java.util.stream.Stream<OWLOntology> ontologies, boolean copyLogicalAxiomsOnly) throws OWLOntologyCreationException
createOntology in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology createOntology(java.util.stream.Stream<OWLAxiom> axioms, IRI ontologyIRI) throws OWLOntologyCreationException
createOntology in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology copyOntology(OWLOntology toCopy, OntologyCopy settings) throws OWLOntologyCreationException
copyOntology in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology loadOntology(IRI ontologyIRI) throws OWLOntologyCreationException
loadOntology in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology loadOntologyFromOntologyDocument(IRI documentIRI) throws OWLOntologyCreationException
loadOntologyFromOntologyDocument in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology loadOntologyFromOntologyDocument(OWLOntologyDocumentSource documentSource) throws OWLOntologyCreationException
loadOntologyFromOntologyDocument in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology loadOntologyFromOntologyDocument(OWLOntologyDocumentSource documentSource, OWLOntologyLoaderConfiguration conf) throws OWLOntologyCreationException
loadOntologyFromOntologyDocument in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology loadOntologyFromOntologyDocument(File file) throws OWLOntologyCreationException
loadOntologyFromOntologyDocument in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic OWLOntology loadOntologyFromOntologyDocument(InputStream inputStream) throws OWLOntologyCreationException
loadOntologyFromOntologyDocument in interface OWLOntologyManagerOWLOntologyCreationExceptionpublic void removeOntology(OWLOntology ontology)
removeOntology in interface OWLOntologyManagerpublic void removeOntology(OWLOntologyID ontologyID)
removeOntology in interface OWLOntologyManagerpublic IRI getOntologyDocumentIRI(OWLOntology ontology)
getOntologyDocumentIRI in interface OWLOntologyManagerpublic void setOntologyDocumentIRI(OWLOntology ontology, IRI documentIRI)
setOntologyDocumentIRI in interface OWLOntologyManagerpublic void saveOntology(OWLOntology ontology) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, OWLDocumentFormat ontologyFormat) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, IRI documentIRI) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, OWLDocumentFormat ontologyFormat, IRI documentIRI) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, OutputStream outputStream) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, OWLDocumentFormat ontologyFormat, OutputStream outputStream) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, OWLOntologyDocumentTarget documentTarget) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic void saveOntology(OWLOntology ontology, OWLDocumentFormat ontologyFormat, OWLOntologyDocumentTarget documentTarget) throws OWLOntologyStorageException
saveOntology in interface OWLOntologyManagerOWLOntologyStorageExceptionpublic PriorityCollection<OWLStorerFactory> getOntologyStorers()
getOntologyStorers in interface OWLOntologyManager@Inject public void setOntologyStorers(Set<OWLStorerFactory> storers)
setOntologyStorers in interface OWLOntologyManagerpublic PriorityCollection<OWLOntologyIRIMapper> getIRIMappers()
getIRIMappers in interface OWLOntologyManager@Inject public void setIRIMappers(Set<OWLOntologyIRIMapper> mappers)
setIRIMappers in interface OWLOntologyManagerpublic void addIRIMapper(OWLOntologyIRIMapper mapper)
addIRIMapper in interface OWLOntologyManagerpublic void removeIRIMapper(OWLOntologyIRIMapper mapper)
removeIRIMapper in interface OWLOntologyManagerpublic void clearIRIMappers()
clearIRIMappers in interface OWLOntologyManagerpublic void addOntologyStorer(OWLStorerFactory storer)
addOntologyStorer in interface OWLOntologyManagerpublic void removeOntologyStorer(OWLStorerFactory storer)
removeOntologyStorer in interface OWLOntologyManagerpublic void clearOntologyStorers()
clearOntologyStorers in interface OWLOntologyManagerpublic PriorityCollection<OWLParserFactory> getOntologyParsers()
getOntologyParsers in interface OWLOntologyManager@Inject public void setOntologyParsers(Set<OWLParserFactory> parsers)
setOntologyParsers in interface OWLOntologyManagerpublic PriorityCollection<OWLOntologyFactory> getOntologyFactories()
getOntologyFactories in interface OWLOntologyManager@Inject public void setOntologyFactories(Set<OWLOntologyFactory> factories)
setOntologyFactories in interface OWLOntologyManagerpublic void addOntologyChangeListener(OWLOntologyChangeListener listener)
addOntologyChangeListener in interface HasOntologyChangeListenerspublic void setDefaultChangeBroadcastStrategy(OWLOntologyChangeBroadcastStrategy strategy)
setDefaultChangeBroadcastStrategy in interface OWLOntologyManagerpublic void addOntologyChangeListener(OWLOntologyChangeListener listener, OWLOntologyChangeBroadcastStrategy strategy)
addOntologyChangeListener in interface OWLOntologyManagerpublic void addImpendingOntologyChangeListener(ImpendingOWLOntologyChangeListener listener)
addImpendingOntologyChangeListener in interface OWLOntologyManagerpublic void removeImpendingOntologyChangeListener(ImpendingOWLOntologyChangeListener listener)
removeImpendingOntologyChangeListener in interface OWLOntologyManagerpublic void removeOntologyChangeListener(OWLOntologyChangeListener listener)
removeOntologyChangeListener in interface HasOntologyChangeListenerspublic void addOntologyChangesVetoedListener(OWLOntologyChangesVetoedListener listener)
addOntologyChangesVetoedListener in interface OWLOntologyManagerpublic void removeOntologyChangesVetoedListener(OWLOntologyChangesVetoedListener listener)
removeOntologyChangesVetoedListener in interface OWLOntologyManagerpublic void makeLoadImportRequest(OWLImportsDeclaration declaration)
makeLoadImportRequest in interface OWLOntologyManagerpublic void makeLoadImportRequest(OWLImportsDeclaration declaration, OWLOntologyLoaderConfiguration configuration)
makeLoadImportRequest in interface OWLOntologyManagerpublic void addMissingImportListener(MissingImportListener listener)
addMissingImportListener in interface OWLOntologyManagerpublic void removeMissingImportListener(MissingImportListener listener)
removeMissingImportListener in interface OWLOntologyManagerpublic void addOntologyLoaderListener(OWLOntologyLoaderListener listener)
addOntologyLoaderListener in interface OWLOntologyManagerpublic void removeOntologyLoaderListener(OWLOntologyLoaderListener listener)
removeOntologyLoaderListener in interface OWLOntologyManagerpublic void addOntologyChangeProgessListener(OWLOntologyChangeProgressListener listener)
addOntologyChangeProgessListener in interface OWLOntologyManagerpublic void removeOntologyChangeProgessListener(OWLOntologyChangeProgressListener listener)
removeOntologyChangeProgessListener in interface OWLOntologyManagerCopyright © 2017 The University of Manchester. All Rights Reserved.