Package org.apache.jena.ontology
Class ProfileRegistry
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
Modifier and TypeFieldDescriptionstatic final String
The URI that maps to the language profile for OWL-DLstatic final String
The URI that maps to the language profile for OWL-Fullstatic final String
The URI that maps to the language profile for OWL-Litestatic final String
The URI that maps to the language profile for RDFS -
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileRegistry
Answer the singleton instancegetProfile
(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
-
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
-