|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.creole.ontology.OntologyUtilities
@Deprecated public class OntologyUtilities
This class provides various Utility methods that can be used to perform some generic options. For more information see javadoc of each individual static method.
| Field Summary | |
|---|---|
private static HashMap<String,DataType> |
datatypeMap
Deprecated. Map containing uri and respective instance of datatypes |
private static HashMap<String,Locale> |
localsMap
Deprecated. Map containing language codes and their respective locales |
| Constructor Summary | |
|---|---|
OntologyUtilities()
Deprecated. |
|
| Method Summary | |
|---|---|
static URI |
createURI(Ontology ontology,
String aResourceName,
boolean isAnonymousResource)
Deprecated. - use Ontology.createOURI(String) and related methods
instead. |
static DataType |
getDataType(String datatypeURI)
Deprecated. use DataType.getDataType(java.lang.String) instead |
static Locale |
getLocale(String languageCode)
Deprecated. use DataType.getLocale(java.lang.String) instead |
static Ontology |
getOntology(URL url)
Deprecated. - this method should be avoided |
static String |
getResourceName(String uri)
Deprecated. use ONodeID.getResourceName() instead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static HashMap<String,DataType> datatypeMap
private static HashMap<String,Locale> localsMap
| Constructor Detail |
|---|
public OntologyUtilities()
| Method Detail |
|---|
@Deprecated
public static Ontology getOntology(URL url)
throws ResourceInstantiationException
url -
ResourceInstantiationException@Deprecated public static String getResourceName(String uri)
ONodeID.getResourceName() instead
uri -
@Deprecated public static DataType getDataType(String datatypeURI)
DataType.getDataType(java.lang.String) instead
datatypeURI -
@Deprecated public static Locale getLocale(String languageCode)
DataType.getLocale(java.lang.String) instead
languageCode -
@Deprecated
public static URI createURI(Ontology ontology,
String aResourceName,
boolean isAnonymousResource)
Ontology.createOURI(String) and related methods
instead.
ontology - aResourceName - isAnonymousResource -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||