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

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.AxisTextToSpeechServiceExecutor
すべての実装されたインタフェース:
TextToSpeechService

public class AxisTextToSpeechServiceExecutor
extends AbstractAxisServiceExecutor
implements TextToSpeechService

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


コンストラクタの概要
AxisTextToSpeechServiceExecutor(String invocationName, long iid, Endpoint endpoint)
           
 
メソッドの概要
 String[] getSupportedAudioTypes()
          対応しているオーディオタイプ一覧を返します。
 String[] getSupportedLanguages()
          対応している言語の一覧を返します。
 String[] getSupportedVoiceTypes()
          対応している声のタイプ一覧を返します。
 Speech speak(String language, String text, String voiceType, String audioType)
          音声合成を行います。
 
クラス 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
 

コンストラクタの詳細

AxisTextToSpeechServiceExecutor

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

speak

public Speech speak(String language,
                    String text,
                    String voiceType,
                    String audioType)
             throws AccessLimitExceededException,
                    InvalidParameterException,
                    NoAccessPermissionException,
                    NoValidEndpointsException,
                    ProcessFailedException,
                    ServerBusyException,
                    ServiceNotActiveException,
                    ServiceNotFoundException,
                    UnsupportedLanguageException
インタフェース TextToSpeechService の記述:
音声合成を行います。

定義:
インタフェース TextToSpeechService 内の speak
パラメータ:
language - テキストの言語(RFC3066準拠)
text - 比較元テキスト(必須)
voiceType - 声のタイプ。"man"や"woman"等。省略時空文字列又は"*"
audioType - 出力データの形式(MIMEタイプ)。"audio/mpeg"、"audio/x-wav"等。省略時空文字列又は"audio/*"
戻り値:
合成結果
例外:
AccessLimitExceededException - アクセス制限に違反した
InvalidParameterException - 不正なパラメータが渡された
UnsupportedLanguageException - 指定された言語はサポートされていない
NoAccessPermissionException - 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException - 有効なエンドポイントが無い
ProcessFailedException - 計算処理に失敗した
ServerBusyException - サーバが混雑していて処理が実行できない
ServiceNotActiveException - サービスはアクティブではない
ServiceNotFoundException - 指定されたサービスが見つからない

getSupportedAudioTypes

public String[] getSupportedAudioTypes()
                                throws AccessLimitExceededException,
                                       NoAccessPermissionException,
                                       NoValidEndpointsException,
                                       ProcessFailedException,
                                       ServerBusyException,
                                       ServiceNotActiveException,
                                       ServiceNotFoundException
インタフェース TextToSpeechService の記述:
対応しているオーディオタイプ一覧を返します。

定義:
インタフェース TextToSpeechService 内の getSupportedAudioTypes
戻り値:
タイプ一覧
例外:
AccessLimitExceededException - アクセス制限に違反した
NoAccessPermissionException - 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException - 有効なエンドポイントが無い
ProcessFailedException - 計算処理に失敗した
ServerBusyException - サーバが混雑していて処理が実行できない
ServiceNotActiveException - サービスはアクティブではない
ServiceNotFoundException - 指定されたサービスが見つからない

getSupportedLanguages

public String[] getSupportedLanguages()
                               throws AccessLimitExceededException,
                                      NoAccessPermissionException,
                                      NoValidEndpointsException,
                                      ProcessFailedException,
                                      ServerBusyException,
                                      ServiceNotActiveException,
                                      ServiceNotFoundException
インタフェース TextToSpeechService の記述:
対応している言語の一覧を返します。

定義:
インタフェース TextToSpeechService 内の getSupportedLanguages
戻り値:
言語一覧
例外:
AccessLimitExceededException - アクセス制限に違反した
NoAccessPermissionException - 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException - 有効なエンドポイントが無い
ProcessFailedException - 計算処理に失敗した
ServerBusyException - サーバが混雑していて処理が実行できない
ServiceNotActiveException - サービスはアクティブではない
ServiceNotFoundException - 指定されたサービスが見つからない

getSupportedVoiceTypes

public String[] getSupportedVoiceTypes()
                                throws AccessLimitExceededException,
                                       NoAccessPermissionException,
                                       NoValidEndpointsException,
                                       ProcessFailedException,
                                       ServerBusyException,
                                       ServiceNotActiveException,
                                       ServiceNotFoundException
インタフェース TextToSpeechService の記述:
対応している声のタイプ一覧を返します。

定義:
インタフェース TextToSpeechService 内の getSupportedVoiceTypes
戻り値:
タイプ一覧
例外:
AccessLimitExceededException - アクセス制限に違反した
NoAccessPermissionException - 呼び出しを行ったユーザに実行権限が無い
NoValidEndpointsException - 有効なエンドポイントが無い
ProcessFailedException - 計算処理に失敗した
ServerBusyException - サーバが混雑していて処理が実行できない
ServiceNotActiveException - サービスはアクティブではない
ServiceNotFoundException - 指定されたサービスが見つからない