jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス ParallelTextWithEmbeddedMetadataClientImpl
java.lang.Object
jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.ParallelTextWithEmbeddedMetadataClientImpl
- すべての実装されたインタフェース:
- Serializable, ParallelTextWithEmbeddedMetadataClient, ServiceClient
public class ParallelTextWithEmbeddedMetadataClientImpl
- extends ServiceClientImpl
- implements ParallelTextWithEmbeddedMetadataClient
内部メタデータ付き用例対訳クライアント実装クラス。
- バージョン:
- $Revision: 8830 $
- 作成者:
- $Author: kkadowaki $
- 関連項目:
- 直列化された形式
クラス 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 |
ParallelTextWithEmbeddedMetadataClientImpl
public ParallelTextWithEmbeddedMetadataClientImpl(URL serviceUrl)
- コンストラクタ。
- パラメータ:
serviceUrl
- サービスが配備されているURL
createStub
protected org.apache.axis.client.Stub createStub(URL url)
throws javax.xml.rpc.ServiceException
- 定義:
- クラス
ServiceClientImpl
内の createStub
- 例外:
javax.xml.rpc.ServiceException
searchParallelTextsByMetadata
public ParallelTextWithMetadata[] searchParallelTextsByMetadata(Language sourceLang,
Language targetLang,
String[] metadata,
String text,
MatchingMethod matchingMethod)
throws LangridException
- インタフェース
ParallelTextWithEmbeddedMetadataClient
の記述:
- 指定されたメタデータが付与された用例の中から、指定された検索語、マッチング方法で用例対訳の検索を行う。
- 定義:
- インタフェース
ParallelTextWithEmbeddedMetadataClient
内の searchParallelTextsByMetadata
- パラメータ:
sourceLang
- 元言語。RFC3066準拠targetLang
- 対訳を探す言語。RFC3066準拠metadata
- 検索対象を限定するためのメタデータtext
- 対訳を探す文章matchingMethod
- 検索方法
- 戻り値:
- 検索結果が格納された配列。
- 例外:
LangridException
- 翻訳サービスの呼び出しに失敗した
searchSupportedMetadata
public String[] searchSupportedMetadata(String query,
MatchingMethod matchingMethod)
throws LangridException
- インタフェース
ParallelTextWithEmbeddedMetadataClient
の記述:
- 言語資源が対応しているメタデータの一覧を検索する
- 定義:
- インタフェース
ParallelTextWithEmbeddedMetadataClient
内の searchSupportedMetadata
- パラメータ:
query
- メタデータの検索クエリmatchingMethod
- 検索方法
- 戻り値:
- 検索結果が格納された配列。
- 例外:
LangridException
- 翻訳サービスの呼び出しに失敗した