|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.TemplateParallelTextClientImpl
public class TemplateParallelTextClientImpl
テンプレート用例対訳クライアントの実装。
コンストラクタの概要 | |
---|---|
TemplateParallelTextClientImpl(URL serviceUrl)
コンストラクタ。 |
メソッドの概要 | |
---|---|
protected org.apache.axis.client.Stub |
createStub(URL url)
|
String |
generateSentence(Language language,
String templateId,
BoundChoiceParameter[] boundChoiceParameters,
BoundValueParameter[] boundValueParameters)
テンプレートから文章を生成する。 |
String[] |
getCategoryNames(String categoryId,
Language[] languages)
指定のカテゴリ名を取得する。 |
Template[] |
getTemplatesByTemplateId(Language language,
String[] templateIds)
テンプレートを取得する。 |
Category[] |
listTemplateCategories(Language language)
全てのカテゴリの一覧を取得する。 |
Template[] |
searchTemplates(Language language,
String text,
MatchingMethod matchingMethod,
String[] categoryIds)
テンプレートを検索する。 |
クラス 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 |
コンストラクタの詳細 |
---|
public TemplateParallelTextClientImpl(URL serviceUrl)
serviceUrl
- サービスが配備されているURLメソッドの詳細 |
---|
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
ServiceClientImpl
内の createStub
javax.xml.rpc.ServiceException
public Category[] listTemplateCategories(Language language) throws LangridException
TemplateParallelTextClient
の記述:
TemplateParallelTextClient
内の listTemplateCategories
LangridException
- 処理に失敗したpublic String[] getCategoryNames(String categoryId, Language[] languages) throws LangridException
TemplateParallelTextClient
の記述:
TemplateParallelTextClient
内の getCategoryNames
categoryId
- カテゴリIDlanguages
- 取得する言語
LangridException
- 処理に失敗したpublic Template[] searchTemplates(Language language, String text, MatchingMethod matchingMethod, String[] categoryIds) throws LangridException
TemplateParallelTextClient
の記述:
TemplateParallelTextClient
内の searchTemplates
language
- 言語text
- 検索する文字列matchingMethod
- マッチング方法categoryIds
- カテゴリID
LangridException
- 処理に失敗したpublic Template[] getTemplatesByTemplateId(Language language, String[] templateIds) throws LangridException
TemplateParallelTextClient
の記述:
TemplateParallelTextClient
内の getTemplatesByTemplateId
language
- 言語templateIds
- 取得するテンプレートのID
LangridException
- 処理に失敗したpublic String generateSentence(Language language, String templateId, BoundChoiceParameter[] boundChoiceParameters, BoundValueParameter[] boundValueParameters) throws LangridException
TemplateParallelTextClient
の記述:
TemplateParallelTextClient
内の generateSentence
language
- 言語templateId
- テンプレートIDboundChoiceParameters
- 選択パラメータ指定boundValueParameters
- 値パラメータ指定
LangridException
- 処理に失敗した
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |