jp.go.nict.langrid.servicecontainer.executor.axis
クラス AxisTranslationServiceExecutor

java.lang.Object
  上位を拡張 jp.go.nict.langrid.servicecontainer.service.component.AbstractServiceExecutor
      上位を拡張 jp.go.nict.langrid.servicecontainer.executor.axis.AbstractAxisServiceExecutor
          上位を拡張 jp.go.nict.langrid.servicecontainer.executor.axis.AxisTranslationServiceExecutor
すべての実装されたインタフェース:
TranslationService

public class AxisTranslationServiceExecutor
extends AbstractAxisServiceExecutor
implements TranslationService

SOAP 用 外部翻訳サービス呼び出しクラス


コンストラクタの概要
AxisTranslationServiceExecutor(String invocationName, long iid, Endpoint endpoint)
           
 
メソッドの概要
 String translate(String sourceLang, String targetLang, String source)
          翻訳を行う。
 
クラス jp.go.nict.langrid.servicecontainer.executor.axis.AbstractAxisServiceExecutor から継承されたメソッド
convert, postprocessSoap, preprocessSoap
 
クラス jp.go.nict.langrid.servicecontainer.service.component.AbstractServiceExecutor から継承されたメソッド
getInvocationName, postprocess, preprocess
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AxisTranslationServiceExecutor

public AxisTranslationServiceExecutor(String invocationName,
                                      long iid,
                                      Endpoint endpoint)
メソッドの詳細

translate

public String translate(String sourceLang,
                        String targetLang,
                        String source)
                 throws AccessLimitExceededException,
                        InvalidParameterException,
                        LanguagePairNotUniquelyDecidedException,
                        NoAccessPermissionException,
                        ProcessFailedException,
                        NoValidEndpointsException,
                        ServerBusyException,
                        ServiceNotActiveException,
                        ServiceNotFoundException,
                        UnsupportedLanguagePairException
インタフェース TranslationService の記述:
翻訳を行う。

定義:
インタフェース TranslationService 内の translate
パラメータ:
sourceLang - 翻訳元言語(RFC3066準拠)
targetLang - 翻訳先言語(RFC3066準拠)
source - 翻訳する文字列
戻り値:
翻訳された文字列
例外:
AccessLimitExceededException - アクセス制限に違反した
InvalidParameterException - 不正なパラメータが渡された
LanguagePairNotUniquelyDecidedException - 複数の言語ペア候補が存在する
UnsupportedLanguagePairException - サポートされていない言語対が指定された
NoAccessPermissionException - 呼び出しを行ったユーザに実行権限が無い
ProcessFailedException - 翻訳処理に失敗した
NoValidEndpointsException - 有効なエンドポイントが無い
ServerBusyException - サーバが混雑していて処理が実行できない
ServiceNotActiveException - サービスはアクティブではない
ServiceNotFoundException - 指定されたサービスが見つからない