|
DIG 1.1 Reasoners API, April 26, 2004 (12:45 PM) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kr.dl.dig.reasoner.v1_1.impl.FaCTPlusPlusReasoner
An implementation of Reasoner
that passes its
requests to a FaCT++ reasoner.
Field Summary |
Fields inherited from interface org.kr.dl.dig.reasoner.v1_1.Reasoner |
XML_HEADER |
Constructor Summary | |
FaCTPlusPlusReasoner()
|
Method Summary | |
ResponsesDocument |
asks(AsksDocument asks)
Returns the ResponsesDocument corresponding to the asks . |
IdentifierDocument |
getIdentifier()
Returns the IdentifierDocument corresponding to the
getIdentifier request. |
URI |
newKB()
Obtains the URI for a new knowledge base from the reasoner. |
IdentifierDocument |
parseIdentifier(String result)
|
ResponseDocument |
parseResponse(String responseString)
Parses the reasoner responseString
into a ResponseDocument . |
ResponsesDocument |
parseResponses(String responsesString)
Parses the reasoner responsesString
into a ResponsesDocument . |
boolean |
releaseKB(URI kb)
Instructs the reasoner to release the knowledge base kb . |
ResponseDocument |
tells(TellsDocument tells)
Returns the ResponseDocument corresponding to the tells . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FaCTPlusPlusReasoner() throws ReasonerException
Method Detail |
public URI newKB() throws ReasonerException
URI
for a new knowledge base from the reasoner.
newKB
in interface Reasoner
URI
for a new knowledge base from the reasoner.
ReasonerException
- with code:
public boolean releaseKB(URI kb) throws ReasonerException
kb
.
releaseKB
in interface Reasoner
kb
- the URI
of a knowledge base.
true
if the operation succeeds.
ReasonerException
- with code:
public IdentifierDocument getIdentifier() throws ReasonerException
IdentifierDocument
corresponding to the
getIdentifier
request.
getIdentifier
in interface Reasoner
IdentifierDocument
corresponding to the
getIdentifier
request.
ReasonerException
- with code:
public IdentifierDocument parseIdentifier(String result) throws ReasonerException
ReasonerException
public ResponseDocument tells(TellsDocument tells) throws ReasonerException
ResponseDocument
corresponding to the tells
.
tells
in interface Reasoner
tells
- an TellsDocument
.
ResponseDocument
corresponding to the tells
.
ReasonerException
- with code:
public ResponsesDocument asks(AsksDocument asks) throws ReasonerException
ResponsesDocument
corresponding to the asks
.
asks
in interface Reasoner
asks
- an AsksDocument
.
ResponsesDocument
corresponding to the asks
.
ReasonerException
- with code:
public ResponseDocument parseResponse(String responseString) throws ReasonerException
responseString
into a ResponseDocument
.
responseString
- reasoner response to be parsed.
ResponseDocument
corresponding to the reasoner response.
ReasonerException
- with code:
public ResponsesDocument parseResponses(String responsesString) throws ReasonerException
responsesString
into a ResponsesDocument
.
responsesString
- reasoner responses to be parsed.
ResponsesDocument
corresponding to the reasoner responses.
ReasonerException
- with code:
|
DIG 1.1 Reasoners API, April 26, 2004 (12:45 PM) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |