com.languagecomputer.api
Class AnswerFusionWebServiceImpl
java.lang.Object
com.languagecomputer.api.BaseWebServiceImpl
com.languagecomputer.api.AnswerFusionWebServiceImpl
- All Implemented Interfaces:
- AnswerFusionWebService, BaseWebService
public class AnswerFusionWebServiceImpl
- extends BaseWebServiceImpl
- implements AnswerFusionWebService
Implementation of AnswerFusionWebService
.
- Since:
- 1.0
- Author:
- Kirk Roberts
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnswerFusionWebServiceImpl
public AnswerFusionWebServiceImpl(SessionManager sessionManager)
- Creates a new
AnswerFusionWebServiceImpl
using the given
sessionManager.
- Parameters:
sessionManager
- The SessionManager
to use for Session
control.
fuseAnswers
public String fuseAnswers(String sessionID,
String query,
String answers,
String format)
throws Exception
- Fuses answers to the query into a new list of answers.
- Specified by:
fuseAnswers
in interface AnswerFusionWebService
- Parameters:
sessionID
- The unique identifier String
for the session
for this operation.query
- The query in the format described in the format
parameter.answers
- The answers in the format described in the
format parameter.format
- The format in which the answers and
query are in. Defaults to XML
.
- Returns:
- The fused answers in the specified format.
- Throws:
Exception
- If there was an error fusing the answers.
Copyright © 2009. All Rights Reserved.