com.hp.hpl.jena.ontology
Class ProfileRegistry

java.lang.Object
  extended by com.hp.hpl.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 Summary
static String OWL_DL_LANG
          The URI that maps to the language profile for OWL-DL
static String OWL_LANG
          The URI that maps to the language profile for OWL-Full
static String OWL_LITE_LANG
          The URI that maps to the language profile for OWL-Lite
static String RDFS_LANG
          The URI that maps to the language profile for RDFS
 
Method Summary
static ProfileRegistry getInstance()
           Answer the singleton instance
 Profile getProfile(String uri)
           Answer the language profile for the given language URI, or null if not known.
 void registerProfile(String uri, Profile profile)
           Add a language profile with the given URI key
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

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


Licenced under the Apache License, Version 2.0