jp.go.nict.langrid.client.ws_1_2.impl.langservice
クラス DictionaryClientImpl

java.lang.Object
  上位を拡張 jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
      上位を拡張 jp.go.nict.langrid.client.ws_1_2.impl.langservice.DictionaryClientImpl
すべての実装されたインタフェース:
Serializable, DictionaryClient, ServiceClient

public class DictionaryClientImpl
extends ServiceClientImpl
implements DictionaryClient

辞書クライアント実装クラス。

バージョン:
$Revision: 8830 $
作成者:
$Author: kkadowaki $
関連項目:
直列化された形式

コンストラクタの概要
DictionaryClientImpl(URL serviceUrl)
          コンストラクタ。
 
メソッドの概要
protected  org.apache.axis.client.Stub createStub(URL url)
           
 ConceptNode getConcept(URI id)
          入力引数中の各conceptIdで示される概念ノードを取得する。
 LemmaNode getLemma(URI id)
          lemmaIdで示されるLemmaNodeを取得する。
 URI[] searchLemmaNodes(Language headLang, Language lemmaLang, String headWord, String reading, PartOfSpeech partOfSpeech, DictMatchingMethod matchingMethod)
          DictServiceIDで規定される辞書に対して,見出しキー(headword:見出し・表記, reading:見出し・よみ,品詞:partOfSpeech) をキーとし, searchMethodで指定する検索手段により辞書検索を行い, ヒットする概念ノードのIDリストを返す。
 
クラス 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
 

コンストラクタの詳細

DictionaryClientImpl

public DictionaryClientImpl(URL serviceUrl)
コンストラクタ。

パラメータ:
serviceUrl - サービスが配備されているURL
メソッドの詳細

searchLemmaNodes

public URI[] searchLemmaNodes(Language headLang,
                              Language lemmaLang,
                              String headWord,
                              String reading,
                              PartOfSpeech partOfSpeech,
                              DictMatchingMethod matchingMethod)
                       throws LangridException
インタフェース DictionaryClient の記述:
DictServiceIDで規定される辞書に対して,見出しキー(headword:見出し・表記, reading:見出し・よみ,品詞:partOfSpeech) をキーとし, searchMethodで指定する検索手段により辞書検索を行い, ヒットする概念ノードのIDリストを返す。 searchMethod は headword, reading に対しての検索手段である.(基本機能)

定義:
インタフェース DictionaryClient 内の searchLemmaNodes
パラメータ:
headLang - 見出し表記の言語
lemmaLang - 読みの言語
headWord - 見出し・表記 (文字列)
reading - 見出し・よみ (文字列; 空文字列 or nullの場合,よみに関する指定なし)
partOfSpeech - 品詞 (文字列; 空文字列 or nullの場合,品詞に関する指定なし)
matchingMethod - 検索の際に使う headword, reading に対する検索手段
戻り値:
条件にマッチする概念ノード情報の配列
例外:
LangridException - 辞書サービスの利用に失敗した

getLemma

public LemmaNode getLemma(URI id)
                   throws LangridException
インタフェース DictionaryClient の記述:
lemmaIdで示されるLemmaNodeを取得する。

定義:
インタフェース DictionaryClient 内の getLemma
パラメータ:
id - LemmaノードId
戻り値:
条件にマッチするLemmaノード
例外:
LangridException - 辞書サービスの利用に失敗した

getConcept

public ConceptNode getConcept(URI id)
                       throws LangridException
インタフェース DictionaryClient の記述:
入力引数中の各conceptIdで示される概念ノードを取得する。

定義:
インタフェース DictionaryClient 内の getConcept
パラメータ:
id - 概念ノードID
戻り値:
条件にマッチする概念ノード
例外:
LangridException - 辞書サービスの利用に失敗した

createStub

protected org.apache.axis.client.Stub createStub(URL url)
                                          throws javax.xml.rpc.ServiceException
定義:
クラス ServiceClientImpl 内の createStub
例外:
javax.xml.rpc.ServiceException