jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス ParallelTextWithIdClientImpl
java.lang.Object
jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.ParallelTextClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.ParallelTextWithIdClientImpl
- すべての実装されたインタフェース:
- Serializable, ParallelTextClient, ParallelTextWithIdClient, ServiceClient
public class ParallelTextWithIdClientImpl
- extends ParallelTextClientImpl
- implements ParallelTextWithIdClient
ID付き用例対訳クライアント実装クラス。
- バージョン:
- $Revision: 9481 $
- 作成者:
- $Author: 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 |
ParallelTextWithIdClientImpl
public ParallelTextWithIdClientImpl(URL serviceUrl)
- コンストラクタ。
- パラメータ:
serviceUrl
- サービスが配備されているURL
searchParallelTexts
public ParallelTextWithId[] searchParallelTexts(Language sourceLang,
Language targetLang,
String text,
MatchingMethod matchingMethod,
String[] categoryIds)
throws LangridException
- インタフェース
ParallelTextWithIdClient
の記述:
- 指定された検索語、マッチング方法でID/カテゴリ付き用例対訳の検索を行う。
- 定義:
- インタフェース
ParallelTextWithIdClient
内の searchParallelTexts
- パラメータ:
sourceLang
- 元言語。RFC3066準拠targetLang
- 対訳を探す言語。RFC3066準拠text
- 対訳を探す文章matchingMethod
- 検索方法
- 戻り値:
- 検索結果が格納された配列。存在しない場合空配列
- 例外:
LangridException
- 処理に失敗した
listCategories
public Category[] listCategories()
throws LangridException
- インタフェース
ParallelTextWithIdClient
の記述:
- カテゴリの一覧を取得する。
- 定義:
- インタフェース
ParallelTextWithIdClient
内の listCategories
- 戻り値:
- カテゴリ一覧
- 例外:
LangridException
- 処理に失敗した
createStub
protected org.apache.axis.client.Stub createStub(URL url)
throws javax.xml.rpc.ServiceException
- オーバーライド:
- クラス
ParallelTextClientImpl
内の createStub
- 例外:
javax.xml.rpc.ServiceException