Class 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 Detail

      • EmptyIRIShortFormProvider

        public EmptyIRIShortFormProvider()
    • 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 interface org.semanticweb.owlapi.util.IRIShortFormProvider
        Parameters:
        iri - IRI to get short form of
        Returns:
        empty string