jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス MultihopTranslationClientImpl

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

public class MultihopTranslationClientImpl
extends ServiceClientImpl
implements MultihopTranslationClient

複数ホップ翻訳クライアント実装クラス。

バージョン:
$Revision: 8830 $
作成者:
$Author: kkadowaki $
関連項目:
直列化された形式

コンストラクタの概要
MultihopTranslationClientImpl(URL serviceUrl)
          コンストラクタ。
 
メソッドの概要
protected  org.apache.axis.client.Stub createStub(URL url)
           
 MultihopTranslationResult multihopTranslate(Language sourceLang, Language[] intermediateLangs, Language targetLang, String source)
          複数ホップ翻訳を行う。
 
クラス 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
 
インタフェース jp.go.nict.langrid.client.ws_1_2.ServiceClient から継承されたメソッド
getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
 

コンストラクタの詳細

MultihopTranslationClientImpl

public MultihopTranslationClientImpl(URL serviceUrl)
コンストラクタ。

パラメータ:
serviceUrl - サービスが配備されているURL
メソッドの詳細

multihopTranslate

public MultihopTranslationResult multihopTranslate(Language sourceLang,
                                                   Language[] intermediateLangs,
                                                   Language targetLang,
                                                   String source)
                                            throws LangridException
インタフェース MultihopTranslationClient の記述:
複数ホップ翻訳を行う。

定義:
インタフェース MultihopTranslationClient 内の multihopTranslate
パラメータ:
sourceLang - 翻訳元の言語
intermediateLangs - 中間言語
targetLang - 翻訳先の言語
source - 翻訳する文字列
戻り値:
複数ホップ翻訳結果
例外:
LangridException - 翻訳サービスの呼び出しに失敗した

createStub

protected org.apache.axis.client.Stub createStub(URL url)
                                          throws javax.xml.rpc.ServiceException
定義:
クラス ServiceClientImpl 内の createStub
例外:
javax.xml.rpc.ServiceException