public class TranslationClientImpl extends ServiceClientImpl implements TranslationClient
Constructor and Description |
---|
TranslationClientImpl(URL serviceUrl) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.axis.client.Stub |
createStub(URL url) |
String |
translate(Language sourceLang,
Language targetLang,
String source) |
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 TranslationClientImpl(URL serviceUrl)
public String translate(Language sourceLang, Language targetLang, String source) throws LangridException
translate
in interface TranslationClient
LangridException
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub
in class ServiceClientImpl
javax.xml.rpc.ServiceException