|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.ontology.repository.OntologyLoader
public class OntologyLoader
Implements the recursive loader for ontology. Stores information which ontologies were already loaded.
| Field Summary | |
|---|---|
static int |
MaxLoadingDepth
|
| Constructor Summary | |
|---|---|
OntologyLoader()
|
|
| Method Summary | |
|---|---|
java.util.Set |
getListOfLoadedOntologies()
This method returns a set of urls depicting ontologies loaded into the JTP. |
java.util.Set |
recursiveLoadKB(java.lang.String myURL,
int maxLoadingDepth)
The method recursively loads ontologies starting form ontology depicted by myURL |
void |
setNotificationRef(KAoSDirectoryService _myKAoSDirectoryService)
Sets the reference to the notification class. |
void |
setOntContext(OntologyRepository context)
Sets the reference to the JTP context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MaxLoadingDepth
| Constructor Detail |
|---|
public OntologyLoader()
| Method Detail |
|---|
public void setOntContext(OntologyRepository context)
public void setNotificationRef(KAoSDirectoryService _myKAoSDirectoryService)
public java.util.Set getListOfLoadedOntologies()
public java.util.Set recursiveLoadKB(java.lang.String myURL,
int maxLoadingDepth)
throws java.io.IOException,
ReasoningException
myURL - The url of the ontology to be loadedmaxLoadingDepth - Indicates to which level the timported ontologies should be laoded maxLoadingDepth less
then 0 (for instance -1) will cause loading of all ontologies regardless of inclusion depth
jtp.InconsistencyException - when loading of the ontology failed.
java.io.IOException
ReasoningException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||