public class ProfileRegistry extends Object
Provides a means to map between the URI's that represent ontology languages and their language profiles.
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final String OWL_LANG
public static final String OWL_DL_LANG
public static final String OWL_LITE_LANG
public static final String RDFS_LANG
public static ProfileRegistry getInstance()
Answer the singleton instance
public void registerProfile(String uri, Profile profile)
Add a language profile with the given URI key
uri
- The URI denoting the languageprofile
- The language profile for the languageLicenced under the Apache License, Version 2.0