|
Protégé-OWL 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.smi.protegex.owl.inference.dig.reasoner.DefaultDIGReasoner
public class DefaultDIGReasoner
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jun 4, 2004
| Field Summary | |
|---|---|
static String |
DEFAULT_URL_PROPERTY
|
static boolean |
log
Deprecated. Use DIGReasonerPreferences to set logging |
| Fields inherited from interface edu.stanford.smi.protegex.owl.inference.dig.reasoner.DIGReasoner |
|---|
LOGGER_NAME |
| Constructor Summary | |
|---|---|
DefaultDIGReasoner()
|
|
| Method Summary | |
|---|---|
void |
clearKnowledgeBase(String kbURI)
Clears the knowledge base |
String |
createKnowledgeBase()
A helper method that asks the reasoner to create a new knowledgebase. |
DIGReasonerIdentity |
getIdentity()
Gets the identity of the inference |
String |
getReasonerURL()
Gets the URL of the reasoner. |
protected void |
log(Document doc)
A helper method that lets us log the DIG XML used to communicate with the reasoner. |
protected void |
performErrorCheck(Document doc)
This method checks for any errors in the DIG response and throws a DIGErrorException if there are any errors. |
Document |
performRequest(Document request)
Sends a request to the reasoner and retrieves the response. |
void |
releaseKnowledgeBase(String kbURI)
A helper method that releases a previously created knowledgebase. |
void |
setReasonerURL(String url)
Sets the URL of the inference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_URL_PROPERTY
public static boolean log
| Constructor Detail |
|---|
public DefaultDIGReasoner()
| Method Detail |
|---|
public void setReasonerURL(String url)
setReasonerURL in interface DIGReasonerurl - The URLpublic String getReasonerURL()
getReasonerURL in interface DIGReasoner
public DIGReasonerIdentity getIdentity()
throws DIGReasonerException
getIdentity in interface DIGReasonerDIGReasonerIdentity object that encapsulates the
information about the inference.
DIGReasonerException
public String createKnowledgeBase()
throws DIGReasonerException
createKnowledgeBase in interface DIGReasonerString that represents a URI that is an identifier for
the newly created knowledgebase.
DIGReasonerException
public void releaseKnowledgeBase(String kbURI)
throws DIGReasonerException
releaseKnowledgeBase in interface DIGReasonerkbURI - The URI of the knowledgebase
DIGReasonerException
public void clearKnowledgeBase(String kbURI)
throws DIGReasonerException
clearKnowledgeBase in interface DIGReasonerkbURI - The uri that identifies the knowledge
base to be cleared.
DIGReasonerException
public Document performRequest(Document request)
throws DIGReasonerException
DIGReasoner
performRequest in interface DIGReasonerrequest - A Document containing the
DIG request
Document containing the reponse from the reasoner
DIGReasonerException
protected void performErrorCheck(Document doc)
throws DIGErrorException
doc - The XML DIG Document that contains that response
from the reasoner.
DIGErrorExceptionprotected void log(Document doc)
|
Protégé-OWL 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||