Package org.semanticweb.owlapi.util
Interface ShortFormProvider
- All Known Subinterfaces:
BidirectionalShortFormProvider
- All Known Implementing Classes:
AnnotationValueShortFormProvider
,BidirectionalShortFormProviderAdapter
,CachingBidirectionalShortFormProvider
,DefaultPrefixManager
,ManchesterOWLSyntaxPrefixNameShortFormProvider
,PropertyAssertionValueShortFormProvider
,QNameShortFormProvider
,ShortFormFromRDFSLabelAxiomListProvider
,SimpleShortFormProvider
public interface ShortFormProvider
A short form provider produces renderings of entities. These renderings are strings which in
general can be used for display and serialisation purposes. A given entity only has one short
form for a given short form provider. However, a short form may map to multiple entities for a
given short form provider. In other words, for a given short form provider the mapping from
entity to short form is functional, but is not inverse functional i.e. an injective mapping.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
dispose()
Disposes of the short form provider.getShortForm
(OWLEntity entity) Gets the short form for the specified entity.
-
Method Details
-
getShortForm
Gets the short form for the specified entity.- Parameters:
entity
- The entity.- Returns:
- A string which represents a short rendering of the specified entity. The returned value will not be null but might be an empty string.
-
dispose
default void dispose()Disposes of the short form provider. This frees any resources and clears any caches.
-