|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.bbreak.excella.core.tag.TagParser<java.util.List<java.lang.Object>>
org.bbreak.excella.core.tag.excel2java.ObjectsParser
public class ObjectsParser
パース結果をList<Object>で返却するパーサ
フィールドの概要 | |
---|---|
protected static int |
DEFAULT_PROPERTY_ROW_ADJUST
デフォルトプロパティ行調整値 |
protected static int |
DEFAULT_VALUE_ROW_FROM_ADJUST
デフォルトデータ開始行調整値 |
protected static java.lang.String |
PARAM_CLASS
クラス定義パラメータ |
protected static java.lang.String |
PARAM_DATA_ROW_FROM
データ開始行の調整パラメータ |
protected static java.lang.String |
PARAM_DATA_ROW_TO
データ終了行の調整パラメータ |
protected static java.lang.String |
PARAM_PROPERTY_ROW
プロパティ行の調整パラメータ |
クラス org.bbreak.excella.core.tag.TagParser から継承されたフィールド |
---|
PARAM_DELIM, TAG_PARAM_PREFIX, TAG_PARAM_SUFFIX, VALUE_DELIM |
コンストラクタの概要 | |
---|---|
ObjectsParser(java.lang.String tag)
コンストラクタ |
メソッドの概要 | |
---|---|
void |
addPropertyParser(ObjectsPropertyParser parser)
カスタムプロパティ解析クラスの追加 |
java.util.List<java.lang.Object> |
parse(Sheet sheet,
Cell tagCell,
java.lang.Object data)
パース処理 |
void |
removeAllPropertyParsers()
カスタムプロパティ解析クラスを全削除する |
void |
removePropertyParser(ObjectsPropertyParser parser)
カスタムプロパティ解析クラスの削除 |
クラス org.bbreak.excella.core.tag.TagParser から継承されたメソッド |
---|
getTag, isParse, setTag |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final java.lang.String PARAM_CLASS
protected static final java.lang.String PARAM_PROPERTY_ROW
protected static final java.lang.String PARAM_DATA_ROW_FROM
protected static final java.lang.String PARAM_DATA_ROW_TO
protected static final int DEFAULT_PROPERTY_ROW_ADJUST
protected static final int DEFAULT_VALUE_ROW_FROM_ADJUST
コンストラクタの詳細 |
---|
public ObjectsParser(java.lang.String tag)
tag
- タグメソッドの詳細 |
---|
public java.util.List<java.lang.Object> parse(Sheet sheet, Cell tagCell, java.lang.Object data) throws ParseException
TagParser<java.util.List<java.lang.Object>>
内の parse
sheet
- 対象シートtagCell
- タグが定義されたセルdata
- BookControllerのparseBook(), parseSheet()メソッド、
SheetParserのparseSheetメソッドで引数を渡した場合に
TagParserまで引き継がれる処理データ
ParseException
- パース例外public void addPropertyParser(ObjectsPropertyParser parser)
parser
- 追加するカスタムプロパティ解析クラスpublic void removePropertyParser(ObjectsPropertyParser parser)
parser
- 削除するカスタムプロパティ解析クラスpublic void removeAllPropertyParsers()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |