com.hamaf.hikyaku.plugIn.dto
クラス InfoXml

java.lang.Object
  上位を拡張 com.hamaf.hikyaku.plugIn.dto.InfoXml

public class InfoXml
extends java.lang.Object

タイトル:InfoXml is controled Plugin Information XML.

説明:プラグイン情報XMLの処理を行う


著作権: Copyright (c) 2010/01/25

バージョン:
1.0
作成者:
y-hamanaka

入れ子のクラスの概要
static class InfoXml.INF_TAG
           
static class InfoXml.INIT_TAG
           
static class InfoXml.MENU_TAG
           
static class InfoXml.RETRIEVE_TAG
           
 
コンストラクタの概要
InfoXml()
           
 
メソッドの概要
 java.lang.String getInfTag(InfoXml.INF_TAG tag)
          Describe getInfTag method : gettin tag value.
 int getInitCount()
          Describe getInitCount method : get initdisp tag counter.
 java.lang.String getInitVal(InfoXml.INIT_TAG tag, int pos)
          Describe getInitVal method : get tag value in initdisp.
 int getMenuCount()
          Describe getMenuCount method : get menu tag counter.
 java.lang.String getMenuVal(InfoXml.MENU_TAG tag, int pos)
          Describe getMenuVal method : get tag in menu value.
 int getRetrieveCount()
          Describe getRetrieveCount method : get retrieve tag counter.
 java.lang.String getRetrieveVal(InfoXml.RETRIEVE_TAG tag, int pos)
          Describe getRetrieveVal method : get tag value in retrive.
 void setXml(java.io.File dir)
          Describe setXml method : setting information xml Document.
 void setXml(java.lang.String filePass)
          Describe setXml method : setting information xml Document.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

InfoXml

public InfoXml()
メソッドの詳細

setXml

public void setXml(java.io.File dir)
            throws java.lang.Exception
Describe setXml method : setting information xml Document.
指定されたフォルダー内のプラグイン情報XMLを設定する。

パラメータ:
flnm - a String :
例外:
java.lang.Exception

setXml

public void setXml(java.lang.String filePass)
            throws java.lang.Exception
Describe setXml method : setting information xml Document.
指定されたファイルよりプラグイン情報XMLを設定する。

パラメータ:
filePass - a String : プラグイン情報XMLのパス
例外:
java.lang.Exception

getInfTag

public java.lang.String getInfTag(InfoXml.INF_TAG tag)
Describe getInfTag method : gettin tag value.
指定されたTagの値を取得する。

パラメータ:
tag - a INF_TAG : Tag名を表すenum
戻り値:
a String : 取得した値

getMenuCount

public int getMenuCount()
Describe getMenuCount method : get menu tag counter.
"menu"タグの数を戻す。

戻り値:
a int : menu tag count

getMenuVal

public java.lang.String getMenuVal(InfoXml.MENU_TAG tag,
                                   int pos)
Describe getMenuVal method : get tag in menu value.
menuタグ内のタグの値を取得する。

パラメータ:
tag - a MENU_TAG :
pos - an int :
戻り値:
a String :

getInitCount

public int getInitCount()
Describe getInitCount method : get initdisp tag counter.
"initdisp"タグの数を戻す。

戻り値:
a int : initdisp tag count

getInitVal

public java.lang.String getInitVal(InfoXml.INIT_TAG tag,
                                   int pos)
Describe getInitVal method : get tag value in initdisp.
initdispタグ内のタグの値を取得する。

パラメータ:
tag - a INIT_TAG :
pos - an int :
戻り値:
a String :

getRetrieveCount

public int getRetrieveCount()
Describe getRetrieveCount method : get retrieve tag counter.
"retrieve"タグの数を戻す。

戻り値:
a int : retrieve tag count

getRetrieveVal

public java.lang.String getRetrieveVal(InfoXml.RETRIEVE_TAG tag,
                                       int pos)
Describe getRetrieveVal method : get tag value in retrive.
retriveタグ内のコタグの値を戻す。

パラメータ:
tag - a RETRIEVE_TAG :
pos - an int :
戻り値:
a String :