Package org.apache.jena.ontology
Class ProfileRegistry
- java.lang.Object
-
- org.apache.jena.ontology.ProfileRegistry
-
public class ProfileRegistry extends java.lang.Object
Provides a means to map between the URI's that represent ontology languages and their language profiles.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OWL_DL_LANG
The URI that maps to the language profile for OWL-DLstatic java.lang.String
OWL_LANG
The URI that maps to the language profile for OWL-Fullstatic java.lang.String
OWL_LITE_LANG
The URI that maps to the language profile for OWL-Litestatic java.lang.String
RDFS_LANG
The URI that maps to the language profile for RDFS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProfileRegistry
getInstance()
Answer the singleton instanceProfile
getProfile(java.lang.String uri)
Answer the language profile for the given language URI, or null if not known.void
registerProfile(java.lang.String uri, Profile profile)
Add a language profile with the given URI key
-
-
-
Field Detail
-
OWL_LANG
public static final java.lang.String OWL_LANG
The URI that maps to the language profile for OWL-Full
-
OWL_DL_LANG
public static final java.lang.String OWL_DL_LANG
The URI that maps to the language profile for OWL-DL
-
OWL_LITE_LANG
public static final java.lang.String OWL_LITE_LANG
The URI that maps to the language profile for OWL-Lite
-
RDFS_LANG
public static final java.lang.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(java.lang.String uri, Profile profile)
Add a language profile with the given URI key
- Parameters:
uri
- The URI denoting the languageprofile
- The language profile for the language
-
getProfile
public Profile getProfile(java.lang.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
-
-