| 
 | 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.TReasoner
TBox reasoner wrapper for Reasoners.
| Field Summary | 
| Fields inherited from interface org.kr.dl.dig.reasoner.v1_1.Reasoner | 
| XML_HEADER | 
| Constructor Summary | |
| TReasoner(Reasoner reasoner)Sets reasoner. | |
| Method Summary | |
|  Set | allConceptNames(URI kbURI)Returns the SetofStrings corresponding
 to names of all concepts in the knowledge basekbURI. | 
|  Set | ancestorsNames(Concept concept,
               URI kbURI)Returns the SetofStrings corresponding
 to names of concept ancestors ofconcept. | 
|  ResponsesDocument | asks(AsksDocument asks)Delegates to wrapped Reasoner. | 
|  Set | childrenNames(Concept concept,
              URI kbURI)Returns the SetofStrings corresponding
 to names of concept children ofconcept. | 
|  Set | descendantsNames(Concept concept,
                 URI kbURI)Returns the SetofStrings corresponding
 to names of concept descendants ofconcept. | 
|  Set | equivalentsNames(Concept concept,
                 URI kbURI)Returns the SetofStrings corresponding
 to names of concept descendants ofconcept. | 
| static void | extractError(ResponseType responses)Throws a ReasonerExceptionusing the first error inresponsesif it exists, or simply "Unknown error in ask" with code 400. | 
|  IdentifierDocument | getIdentifier()Delegates to wrapped Reasoner. | 
|  Reasoner | getReasoner() | 
|  URI | newKB()Delegates to wrapped Reasoner. | 
|  Set | parentsNames(Concept concept,
             URI kbURI)Returns the SetofStrings corresponding
 to names of concept parents ofconcept. | 
|  boolean | releaseKB(URI kb)Delegates to wrapped Reasoner. | 
|  boolean | satisfiable(Concept concept,
            URI kbURI)Returns trueifconceptis satisfiable. | 
|  void | setReasoner(Reasoner reasoner) | 
|  boolean | subsumes(Concept subsumer,
         Concept subsumee,
         URI kbURI)Returns trueifsubsumersubsumessubsumee. | 
|  ResponseDocument | tells(TellsDocument tells)Delegates to wrapped Reasoner. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public TReasoner(Reasoner reasoner)
reasoner.
reasoner - The reasoner to set.| Method Detail | 
public Set allConceptNames(URI kbURI)
                    throws ReasonerException
Set of String s corresponding
 to names of all concepts in the knowledge base kbURI.
allConceptNames in interface TReasonerkbURI - the URIof the knowledge base we want to use.
Set of String s corresponding
         to names of all concepts in the knowledge base.
ReasonerException.
ReasonerExceptionReasoner.asks(AsksDocument).
public boolean satisfiable(Concept concept,
                           URI kbURI)
                    throws ReasonerException
true if concept is satisfiable.
satisfiable in interface TReasonerconcept - the Conceptfor which satisfiability is tested.kbURI - the URIof the knowledge base we want to use.
true if concept is satisfiable.
ReasonerExceptionReasoner.asks(AsksDocument).
public boolean subsumes(Concept subsumer,
                        Concept subsumee,
                        URI kbURI)
                 throws ReasonerException
true if subsumer subsumes subsumee.
subsumes in interface TReasonersubsumer - a Conceptexpected to subsume subsumee.subsumee - a Conceptexpected to be subsumed subsumer.kbURI - the URIof the knowledge base we want to use.
true if subsumer subsumes subsumee.
ReasonerExceptionReasoner.asks(AsksDocument).
public static void extractError(ResponseType responses)
                         throws ReasonerException
ReasonerExceptionusing the first error in responses
 if it exists, or simply "Unknown error in ask" with code 400.
responses - a ResponseType.
a - new ReasonerExceptionusing the first error in
             responses if it exists, or simply "Unknown
             error in ask" with code 400.
ReasonerException
public Set childrenNames(Concept concept,
                         URI kbURI)
                  throws ReasonerException
Set of String s corresponding
 to names of concept children of concept.
childrenNames in interface TReasonerconcept - the Conceptwhose children are returned.kbURI - the URIof the knowledge base we want to use.
Set of String s corresponding
         to names of concept children of concept.
ReasonerException.
ReasonerExceptionReasoner.asks(AsksDocument).
public Set descendantsNames(Concept concept,
                            URI kbURI)
                     throws ReasonerException
Set of String s corresponding
 to names of concept descendants of concept.
descendantsNames in interface TReasonerconcept - the Conceptwhose descendants are returned.kbURI - the URIof the knowledge base we want to use.
Set of String s corresponding
         to names of concept descendants of concept.
ReasonerException.
ReasonerExceptionReasoner.asks(AsksDocument).
public Set parentsNames(Concept concept,
                        URI kbURI)
                 throws ReasonerException
Set of String s corresponding
 to names of concept parents of concept.
parentsNames in interface TReasonerconcept - the Conceptwhose parents are returned.kbURI - the URIof the knowledge base we want to use.
Set of String s corresponding
         to names of concept parents of concept.
ReasonerException.
ReasonerExceptionReasoner.asks(AsksDocument)
public Set ancestorsNames(Concept concept,
                          URI kbURI)
                   throws ReasonerException
Set of String s corresponding
 to names of concept ancestors of concept.
ancestorsNames in interface TReasonerconcept - the Conceptwhose ancestors are returned.kbURI - the URIof the knowledge base we want to use.
Set of String s corresponding
         to names of concept ancestors of concept.
ReasonerException.
ReasonerExceptionReasoner.asks(AsksDocument)
public Set equivalentsNames(Concept concept,
                            URI kbURI)
                     throws ReasonerException
Set of String s corresponding
 to names of concept descendants of concept.
equivalentsNames in interface TReasonerconcept - the Conceptwhose descendants are returned.kbURI - the URIof the knowledge base we want to use.
Set of String s corresponding
         to names of concept descendants of concept.
ReasonerException.
ReasonerExceptionReasoner.asks(AsksDocument)
public ResponseDocument tells(TellsDocument tells)
                       throws ReasonerException
Reasoner.
tells in interface Reasonertells - a TellsDocument.
ResponseDocument corresponding to the tells.
ReasonerException - with code: 
 Reasoner.tells(org.kr.dl.dig.v1_1.TellsDocument)
public ResponsesDocument asks(AsksDocument asks)
                       throws ReasonerException
Reasoner.
asks in interface Reasonerasks - an AsksDocument.
ResponsesDocument corresponding to the asks.
ReasonerException - with code: 
 Reasoner.asks(org.kr.dl.dig.v1_1.AsksDocument)
public IdentifierDocument getIdentifier()
                                 throws ReasonerException
Reasoner.
getIdentifier in interface ReasonerIdentifierDocument corresponding to the 
 getIdentifier request.
ReasonerException - with code: 
 Reasoner.getIdentifier()
public URI newKB()
          throws ReasonerException
Reasoner.
newKB in interface ReasonerURI for a new knowledge base from the reasoner.
ReasonerException - with code: 
 Reasoner.newKB()
public boolean releaseKB(URI kb)
                  throws ReasonerException
Reasoner.
releaseKB in interface Reasonerkb - the URI of a knowledge base.
true if the operation succeeds.
ReasonerException - with code: 
 Reasoner.releaseKB(java.net.URI)public Reasoner getReasoner()
public void setReasoner(Reasoner reasoner)
reasoner - The reasoner to set.| 
 | 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 | ||||||||||