Class AbsoluteIRIHelper

java.lang.Object
org.semanticweb.owlapi.rdf.AbsoluteIRIHelper

public class AbsoluteIRIHelper extends Object
Helper class for absolute and relative IRIs on rendering.
  • Constructor Details

    • AbsoluteIRIHelper

      public AbsoluteIRIHelper()
  • Method Details

    • verifyAbsolute

      public static IRI verifyAbsolute(IRI iri, @Nullable OWLDocumentFormat f, OWLOntology o)
      Parameters:
      iri - iri to check
      f - format used in rendering
      o - ontology being rendered
      Returns:
      absolute version of iri; same as input if the input is absolute, else the prefix is taken from the prefix mappings or from the ontology id. If none of there are available, a hard coded prefix is used.