Class OntologyIRIShortFormProvider

java.lang.Object
org.semanticweb.owlapi.util.OntologyIRIShortFormProvider
All Implemented Interfaces:
Serializable, IRIShortFormProvider

public class OntologyIRIShortFormProvider extends Object implements IRIShortFormProvider
Since:
2.2.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
See Also:
  • Constructor Details

    • OntologyIRIShortFormProvider

      public OntologyIRIShortFormProvider()
  • Method Details

    • getShortForm

      public String getShortForm(OWLOntology ont)
      Parameters:
      ont - ontology to use
      Returns:
      short form of the ontology IRI
    • getShortForm

      public String getShortForm(IRI iri)
      Specified by:
      getShortForm in interface IRIShortFormProvider
      Parameters:
      iri - the IRI to shorten
      Returns:
      the short form