public class TemplateParallelTextClientImpl extends ServiceClientImpl implements TemplateParallelTextClient
Constructor and Description |
---|
TemplateParallelTextClientImpl(URL serviceUrl) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.axis.client.Stub |
createStub(URL url) |
String |
generateSentence(Language language,
String templateId,
BoundChoiceParameter[] boundChoiceParameters,
BoundValueParameter[] boundValueParameters) |
String[] |
getCategoryNames(String categoryId,
Language[] languages) |
Template[] |
getTemplatesByTemplateId(Language language,
String[] templateIds) |
Category[] |
listTemplateCategories(Language language) |
Template[] |
searchTemplates(Language language,
String text,
MatchingMethod matchingMethod,
String[] categoryIds) |
addRequestHeader, convert, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public TemplateParallelTextClientImpl(URL serviceUrl)
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub
in class ServiceClientImpl
javax.xml.rpc.ServiceException
public Category[] listTemplateCategories(Language language) throws LangridException
listTemplateCategories
in interface TemplateParallelTextClient
LangridException
public String[] getCategoryNames(String categoryId, Language[] languages) throws LangridException
getCategoryNames
in interface TemplateParallelTextClient
LangridException
public Template[] searchTemplates(Language language, String text, MatchingMethod matchingMethod, String[] categoryIds) throws LangridException
searchTemplates
in interface TemplateParallelTextClient
LangridException
public Template[] getTemplatesByTemplateId(Language language, String[] templateIds) throws LangridException
getTemplatesByTemplateId
in interface TemplateParallelTextClient
LangridException
public String generateSentence(Language language, String templateId, BoundChoiceParameter[] boundChoiceParameters, BoundValueParameter[] boundValueParameters) throws LangridException
generateSentence
in interface TemplateParallelTextClient
LangridException