jp.go.nict.langrid.client.ws_1_2.protobuf.impl
クラス BackTranslationWithTemporalDictionaryClientImpl

java.lang.Object
  上位を拡張 jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl
      上位を拡張 jp.go.nict.langrid.client.ws_1_2.protobuf.impl.BackTranslationWithTemporalDictionaryClientImpl
すべての実装されたインタフェース:
BackTranslationWithTemporalDictionaryClient, ServiceClient

public class BackTranslationWithTemporalDictionaryClientImpl
extends ServiceClientImpl
implements BackTranslationWithTemporalDictionaryClient

The ProtobufRPC implementation of TranslationWithTemporalDictionaryClient.

作成者:
Takao Nakaguchi

入れ子のクラスの概要
 
クラス jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl から継承された入れ子のクラス/インタフェース
ServiceClientImpl.ServiceExecutor<T,U>
 
コンストラクタの概要
BackTranslationWithTemporalDictionaryClientImpl(URL url)
          Constructor.
 
メソッドの概要
 BackTranslationResult backTranslate(Language sourceLang, Language intermediateLang, String source, Translation[] temporalDictionary, Language dictionaryTargetLang)
          翻訳を行う。
 
クラス jp.go.nict.langrid.client.ws_1_2.protobuf.impl.ServiceClientImpl から継承されたメソッド
addHeaders, convert, createChannel, execute, getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getPassword, getRequestHeaders, getTreeBindings, getUrl, getUserId, setPassword, setUserId
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース jp.go.nict.langrid.client.ws_1_2.ServiceClient から継承されたメソッド
getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
 

コンストラクタの詳細

BackTranslationWithTemporalDictionaryClientImpl

public BackTranslationWithTemporalDictionaryClientImpl(URL url)
Constructor.

パラメータ:
url - The invocation url of the service.
メソッドの詳細

backTranslate

public BackTranslationResult backTranslate(Language sourceLang,
                                           Language intermediateLang,
                                           String source,
                                           Translation[] temporalDictionary,
                                           Language dictionaryTargetLang)
                                    throws LangridException
インタフェース BackTranslationWithTemporalDictionaryClient の記述:
翻訳を行う。

定義:
インタフェース BackTranslationWithTemporalDictionaryClient 内の backTranslate
パラメータ:
sourceLang - 翻訳元の言語
intermediateLang - 中間言語
source - 翻訳する文字列
temporalDictionary - 一時辞書データ
dictionaryTargetLang - 辞書の対象言語。見出しの言語はsourceLangが使われる
戻り値:
翻訳結果
例外:
LangridException - 翻訳サービスの呼び出しに失敗した