Class ProfileRegistry

java.lang.Object
org.apache.jena.ontology.ProfileRegistry

public class ProfileRegistry extends Object

Provides a means to map between the URI's that represent ontology languages and their language profiles.

  • Field Details

    • OWL_LANG

      public static final String OWL_LANG
      The URI that maps to the language profile for OWL-Full
    • OWL_DL_LANG

      public static final String OWL_DL_LANG
      The URI that maps to the language profile for OWL-DL
    • OWL_LITE_LANG

      public static final String OWL_LITE_LANG
      The URI that maps to the language profile for OWL-Lite
    • RDFS_LANG

      public static final String RDFS_LANG
      The URI that maps to the language profile for RDFS
  • Method Details

    • getInstance

      public static ProfileRegistry getInstance()

      Answer the singleton instance

      Returns:
      The singleton registry
    • registerProfile

      public void registerProfile(String uri, Profile profile)

      Add a language profile with the given URI key

      Parameters:
      uri - The URI denoting the language
      profile - The language profile for the language
    • getProfile

      public Profile getProfile(String uri)

      Answer the language profile for the given language URI, or null if not known.

      Parameters:
      uri - A URI denoting an ontology language
      Returns:
      An ontology language profile for that language