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 -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgenerateShortForm(org.semanticweb.owlapi.model.OWLEntity entity) Gets the human-readable label from the OWLEntityMethods inherited from class org.semanticweb.owlapi.util.CachingBidirectionalShortFormProvider
add, dispose, entities, getEntity, getShortForm, rebuild, remove, shortFormsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.semanticweb.owlapi.util.BidirectionalShortFormProvider
getEntities, getShortForms
-
Constructor Details
-
Provider
public Provider()Creates a newMyClass.
-
-
Method Details
-
generateShortForm
Gets the human-readable label from the OWLEntity- Specified by:
generateShortFormin classorg.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.
-