|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.bbreak.excella.core.tag.TagParser<List<?>>
org.bbreak.excella.core.tag.excel2java.ListParser
org.bbreak.excella.trans.tag.sheet2sql.SqlParser
public class SqlParser
シートを解析し、SQL文字列を
List<String>で返却するパーサ
| フィールドの概要 | |
|---|---|
static String |
DEFAULT_TAG
デフォルトタグ |
protected static String |
SQL_PREFIX
SQL接頭句 |
protected static String |
SQL_SUFFIX
SQL接尾句 |
| クラス org.bbreak.excella.core.tag.excel2java.ListParser から継承されたフィールド |
|---|
DEFAULT_VALUE_COLUMN_ADJUST, DEFAULT_VALUE_ROW_FROM_ADJUST, PARAM_DATA_ROW_FROM, PARAM_DATA_ROW_TO, PARAM_VALUE_COLUMN |
| クラス org.bbreak.excella.core.tag.TagParser から継承されたフィールド |
|---|
PARAM_DELIM, TAG_PARAM_PREFIX, TAG_PARAM_SUFFIX, VALUE_DELIM |
| コンストラクタの概要 | |
|---|---|
SqlParser()
コンストラクタ |
|
SqlParser(String tag)
コンストラクタ |
|
| メソッドの概要 | |
|---|---|
List<String> |
parse(Sheet sheet,
Cell tagCell,
Object data)
パース処理 |
List<String> |
parse(Sheet sheet,
Cell tagCell,
Object data,
String prefix,
String suffix)
接頭句、接尾句を付与した文字列のリストを返す。 |
| クラス org.bbreak.excella.core.tag.TagParser から継承されたメソッド |
|---|
getTag, isParse, setTag |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final String DEFAULT_TAG
protected static final String SQL_PREFIX
protected static final String SQL_SUFFIX
| コンストラクタの詳細 |
|---|
public SqlParser()
public SqlParser(String tag)
tag - タグ| メソッドの詳細 |
|---|
public List<String> parse(Sheet sheet,
Cell tagCell,
Object data)
throws ParseException
ListParser 内の parsesheet - 対象シートtagCell - タグが定義されたセルdata - TransProcessorのprocessBook, processSheetメソッドでParseException - パース例外
public List<String> parse(Sheet sheet,
Cell tagCell,
Object data,
String prefix,
String suffix)
throws ParseException
sheet - シートtagCell - タグセルdata - TransProcessorのprocessBook, processSheetメソッドでprefix - 接頭句suffix - 接尾句
ParseException - パース例外
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||