jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス BackTranslationWithTemporalDictionaryClientImpl
java.lang.Object
jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.BackTranslationWithTemporalDictionaryClientImpl
- すべての実装されたインタフェース:
- Serializable, BackTranslationWithTemporalDictionaryClient, ServiceClient
public class BackTranslationWithTemporalDictionaryClientImpl
- extends ServiceClientImpl
- implements BackTranslationWithTemporalDictionaryClient
一時辞書を用いた折り返し翻訳クライアント実装クラス。
- バージョン:
- $Revision: 10337 $
- 作成者:
- Takao Nakaguchi, $Author: Takao Nakaguchi $
- 関連項目:
- 直列化された形式
クラス jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl から継承されたメソッド |
convert, getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackTranslationWithTemporalDictionaryClientImpl
public BackTranslationWithTemporalDictionaryClientImpl(URL serviceUrl)
- コンストラクタ。
- パラメータ:
serviceUrl
- サービスが配備されているURL
backTranslate
public BackTranslationResult backTranslate(Language sourceLang,
Language targetLang,
String source,
Translation[] temporalDict,
Language dictTargetLang)
throws LangridException
- インタフェース
BackTranslationWithTemporalDictionaryClient
の記述:
- 翻訳を行う。
- 定義:
- インタフェース
BackTranslationWithTemporalDictionaryClient
内の backTranslate
- パラメータ:
sourceLang
- 翻訳元の言語targetLang
- 中間言語source
- 翻訳する文字列temporalDict
- 一時辞書データdictTargetLang
- 辞書の対象言語。見出しの言語はsourceLangが使われる
- 戻り値:
- 翻訳結果
- 例外:
LangridException
- 翻訳サービスの呼び出しに失敗した
createStub
protected org.apache.axis.client.Stub createStub(URL url)
throws javax.xml.rpc.ServiceException
- 定義:
- クラス
ServiceClientImpl
内の createStub
- 例外:
javax.xml.rpc.ServiceException