public class XMLRow extends Row
Row.isEmpty() method to
test whether the row data is an empty node. The empty node
is defined as: No values and styles and formats. Line like this.
<row r="x"/> You can get the data eq by cell
subscript like ResultSet: Row.getInt(int) to get the current
line The data in the second column, the subscript, starts at 0.| 限定符和类型 | 字段和说明 |
|---|---|
protected StringBuilder |
buf |
protected char[] |
cb |
protected int |
cursor |
protected int |
e |
protected int |
from |
protected int |
startRow |
protected int |
to |
| 构造器和说明 |
|---|
XMLRow() |
XMLRow(SharedStrings sst,
Styles styles,
int startRow) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Cell[] |
cellCopyOf(int newLength) |
protected XMLRow |
empty(char[] cb,
int from,
int size) |
protected int |
get(Cell cell,
char c,
org.ttzero.excel.reader.XMLRow.Attribute attrConsumer)
Parses the value and attributes of the specified tag
|
protected int |
get(char c) |
int |
getRowNum()
The number of row.
|
int |
getRowNumber()
已过时。
replace with
getRowNum() |
protected int |
getT()
Found text tag range
Code like this
<is><t>cell value</t></is> |
protected int |
getV()
Found value tag range
Code like this
<v>0</v> |
XMLRow |
init(SharedStrings sst,
Styles styles,
int startRow) |
protected boolean |
isDouble(int a,
int b) |
protected boolean |
isNumber(int a,
int b) |
protected Cell |
nextCell()
Loop parse cell
|
protected void |
parseCells()
Loop parse cell
|
protected void |
parseCellValue(Cell cell)
Parse cell value
|
protected int |
searchSpan() |
protected double |
toDouble(int a,
int b) |
protected long |
toLong(int a,
int b) |
protected String |
toString(int a,
int b) |
protected XMLRow |
with(char[] cb,
int from,
int size) |
asHeader, geet, get, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCell, getCell, getCellType, getCellType, getCellType, getChar, getChar, getChar, getDate, getDate, getDate, getDecimal, getDecimal, getDecimal, getDouble, getDouble, getDouble, getFirstColumnIndex, getFloat, getFloat, getFormula, getFormula, getInt, getInt, getInt, getLastColumnIndex, getLocalDate, getLocalDate, getLocalDate, getLocalDateTime, getLocalDateTime, getLocalDateTime, getLocalTime, getLocalTime, getLocalTime, getLong, getLong, getLong, getShort, getShort, getShort, getString, getString, getString, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, hasFormula, hasFormula, isEmpty, rangeCheck, setHr, to, toCellIndex, too, toStringprotected int startRow
protected StringBuilder buf
protected char[] cb
protected int from
protected int to
protected int cursor
protected int e
public XMLRow()
public XMLRow(SharedStrings sst, Styles styles, int startRow)
@Deprecated public int getRowNumber()
getRowNum()getRowNumber 在类中 Rowpublic XMLRow init(SharedStrings sst, Styles styles, int startRow)
protected XMLRow with(char[] cb, int from, int size)
protected XMLRow empty(char[] cb, int from, int size)
protected int searchSpan()
protected void parseCells()
protected long toLong(int a,
int b)
protected String toString(int a, int b)
protected double toDouble(int a,
int b)
protected boolean isNumber(int a,
int b)
protected boolean isDouble(int a,
int b)
protected Cell[] cellCopyOf(int newLength)
protected int get(char c)
protected int get(Cell cell, char c, org.ttzero.excel.reader.XMLRow.Attribute attrConsumer)
cell - current cellc - the specified tagattrConsumer - an attribute consumerprotected int getT()
<is><t>cell value</t></is>protected int getV()
<v>0</v>Copyright © 2022. All rights reserved.