public class BidirectionalShortFormProviderAdapter extends CachingBidirectionalShortFormProvider
| Constructor and Description |
|---|
BidirectionalShortFormProviderAdapter(Collection<OWLOntology> ontologies,
ShortFormProvider shortFormProvider)
Creates a BidirectionalShortFormProvider that maps between the entities
that are referenced in the specified ontologies and the short forms of
these entities.
|
BidirectionalShortFormProviderAdapter(OWLOntologyManager man,
Collection<OWLOntology> ontologies,
ShortFormProvider shortFormProvider)
Creates a BidirectionalShortFormProvider that maps between the entities
that are referenced in the specified ontologies and the shortforms of
these entities.
|
BidirectionalShortFormProviderAdapter(ShortFormProvider shortFormProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of the short form proivider.
|
add, entities, getEntity, getShortForm, shortFormsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntities, getShortFormspublic BidirectionalShortFormProviderAdapter(ShortFormProvider shortFormProvider)
shortFormProvider - the short form provider to usepublic BidirectionalShortFormProviderAdapter(Collection<OWLOntology> ontologies, ShortFormProvider shortFormProvider)
ontologies - The ontologies that contain references to the entities to be mapped.shortFormProvider - The short form provider that should be used to generate the short
forms of the referenced entities.public BidirectionalShortFormProviderAdapter(OWLOntologyManager man, Collection<OWLOntology> ontologies, ShortFormProvider shortFormProvider)
dispose method must be called when
the provider has been finished with so that the provider may remove
itself as a listener from the manager.ontologies - The ontologies that contain references to the entities to be mapped.shortFormProvider - The short form provider that should be used to generate the short
forms of the referenced entities.man - This short form provider will track changes to ontologies. The provider will
listen for ontology changes and update the cache of entity--shortform mappings based on
whether the specified ontologies contain references to entities or not.public void dispose()
ShortFormProviderdispose in interface ShortFormProviderdispose in class CachingBidirectionalShortFormProviderCopyright © 2017 The University of Manchester. All rights reserved.