java.lang.Object
org.apache.jena.ontology.ProfileRegistry
Provides a means to map between the URI's that represent ontology languages and their language profiles.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe URI that maps to the language profile for OWL-DLstatic final StringThe URI that maps to the language profile for OWL-Fullstatic final StringThe URI that maps to the language profile for OWL-Litestatic final StringThe URI that maps to the language profile for RDFS -
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileRegistryAnswer the singleton instancegetProfile(String uri) Answer the language profile for the given language URI, or null if not known.voidregisterProfile(String uri, Profile profile) Add a language profile with the given URI key
-
Field Details
-
OWL_LANG
The URI that maps to the language profile for OWL-Full -
OWL_DL_LANG
The URI that maps to the language profile for OWL-DL -
OWL_LITE_LANG
The URI that maps to the language profile for OWL-Lite -
RDFS_LANG
The URI that maps to the language profile for RDFS
-
-
Method Details
-
getInstance
Answer the singleton instance
- Returns:
- The singleton registry
-
registerProfile
Add a language profile with the given URI key
- Parameters:
uri- The URI denoting the languageprofile- The language profile for the language
-
getProfile
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
-