Class BidirectionalShortFormProviderAdapter

java.lang.Object
org.semanticweb.owlapi.util.CachingBidirectionalShortFormProvider
org.semanticweb.owlapi.util.BidirectionalShortFormProviderAdapter
All Implemented Interfaces:
BidirectionalShortFormProvider, ShortFormProvider

public class BidirectionalShortFormProviderAdapter extends CachingBidirectionalShortFormProvider
A bidirectional short form provider which uses a specified short form provider to generate the bidirectional entity--short form mappings.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Constructor Details

    • BidirectionalShortFormProviderAdapter

      public BidirectionalShortFormProviderAdapter(ShortFormProvider shortFormProvider)
      Parameters:
      shortFormProvider - the short form provider to use
    • BidirectionalShortFormProviderAdapter

      public 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.
      Parameters:
      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.
    • BidirectionalShortFormProviderAdapter

      public 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 short forms of these entities. Note that the 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.
      Parameters:
      man - This short form provider will track changes to ontologies. The provider will listen for ontology changes and update the cache of entity--short form mappings based on whether the specified ontologies contain references to entities or not.
      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.
  • Method Details