|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.bbreak.excella.core.tag.TagParser<RESULT>
RESULT
- 処理結果の型public abstract class TagParser<RESULT>
タグ処理のスーパークラス
フィールドの概要 | |
---|---|
static String |
PARAM_DELIM
パラメータ区切り文字 |
static String |
TAG_PARAM_PREFIX
パラメータ定義の開始文字 |
static String |
TAG_PARAM_SUFFIX
パラメータ定義の終了文字 |
static String |
VALUE_DELIM
キー、値の区切り文字 |
コンストラクタの概要 | |
---|---|
TagParser(String tag)
コンストラクタ |
メソッドの概要 | |
---|---|
String |
getTag()
対象タグの取得 |
boolean |
isParse(Sheet sheet,
Cell tagCell)
パース処理を行うか否かの判定 |
abstract RESULT |
parse(Sheet sheet,
Cell tagCell,
Object data)
パース処理 |
void |
setTag(String tag)
対象タグの設定 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final String TAG_PARAM_PREFIX
public static final String TAG_PARAM_SUFFIX
public static final String PARAM_DELIM
public static final String VALUE_DELIM
コンストラクタの詳細 |
---|
public TagParser(String tag)
tag
- 対象タグメソッドの詳細 |
---|
public boolean isParse(Sheet sheet, Cell tagCell) throws ParseException
sheet
- 対象シートtagCell
- 対象セル
ParseException
public abstract RESULT parse(Sheet sheet, Cell tagCell, Object data) throws ParseException
sheet
- 対象シートtagCell
- タグが定義されたセルdata
- BookControllerのparseBook(), parseSheet()メソッド、
SheetParserのparseSheetメソッドで引数を渡した場合に
TagParserまで引き継がれる処理データ
ParseException
- パース例外public String getTag()
public void setTag(String tag)
tag
- 対象タグ
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |