Class Provider

java.lang.Object
org.semanticweb.owlapi.util.CachingBidirectionalShortFormProvider
io.github.kodymoodley.owlapilite.Provider
All Implemented Interfaces:
org.semanticweb.owlapi.util.BidirectionalShortFormProvider, org.semanticweb.owlapi.util.ShortFormProvider

public class Provider extends org.semanticweb.owlapi.util.CachingBidirectionalShortFormProvider
Represents a Provider class providing a default implementation for getting a short form, human-readable label for an entity with an IRI from an ontology.
Version:
1.0.1
Author:
Kody Moodley, https://kodymoodley.github.io
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new MyClass.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    generateShortForm(org.semanticweb.owlapi.model.OWLEntity entity)
    Gets the human-readable label from the OWLEntity

    Methods inherited from class org.semanticweb.owlapi.util.CachingBidirectionalShortFormProvider

    add, dispose, entities, getEntity, getShortForm, rebuild, remove, shortForms

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.semanticweb.owlapi.util.BidirectionalShortFormProvider

    getEntities, getShortForms
  • Constructor Details

    • Provider

      public Provider()
      Creates a new MyClass.
  • Method Details

    • generateShortForm

      protected String generateShortForm(org.semanticweb.owlapi.model.OWLEntity entity)
      Gets the human-readable label from the OWLEntity
      Specified by:
      generateShortForm in class org.semanticweb.owlapi.util.CachingBidirectionalShortFormProvider
      Parameters:
      entity - An OWLEntity object for which to generate the human-readable label
      Returns:
      A string representation of the human-readable label.