Package org.obolibrary.robot.providers
Class EmptyIRIShortFormProvider
- java.lang.Object
-
- org.obolibrary.robot.providers.EmptyIRIShortFormProvider
-
- All Implemented Interfaces:
Serializable
,org.semanticweb.owlapi.util.IRIShortFormProvider
public class EmptyIRIShortFormProvider extends Object implements org.semanticweb.owlapi.util.IRIShortFormProvider
Implementation of IRIShortFormProvider that always returns an empty string. For use as an alternative short form provider for the LABEL case in export, where nothing should be returned if a label does not exist.- Author:
- Becky Jackson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyIRIShortFormProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getShortForm(org.semanticweb.owlapi.model.IRI iri)
Return an empty string as the short form of an IRI.
-
-
-
Method Detail
-
getShortForm
@Nonnull public String getShortForm(@Nonnull org.semanticweb.owlapi.model.IRI iri)
Return an empty string as the short form of an IRI.- Specified by:
getShortForm
in interfaceorg.semanticweb.owlapi.util.IRIShortFormProvider
- Parameters:
iri
- IRI to get short form of- Returns:
- empty string
-
-