|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.whattf.checker.table.RowGroup
final class RowGroup
Represents a row group (explicit or implicit) for table integrity checking.
| Field Summary | |
|---|---|
private SortedSet<Cell> |
cellsIfEffect
The set of cells from previous rows that are still in effect extending downwards. |
private Cell[] |
cellsOnCurrentRow
A temporary copy of cellsIfEffect sorted differently. |
private int |
currentRow
Keeps track of the current slot row of the insertion point. |
private Cell[] |
EMPTY_CELL_ARRAY
Runtime type constant. |
private int |
insertionPoint
The column slot of the insertion point. |
private int |
nextOldCell
The index of the next uninspected item in cellsOnCurrentRow. |
private Table |
owner
The owning table. |
private boolean |
rowHadCells
Whether the current row has had cells. |
private String |
type
The local name of the element that established this row group or null if this is an implicit row group. |
| Constructor Summary | |
|---|---|
RowGroup(Table owner,
String type)
|
|
| Method Summary | |
|---|---|
void |
cell(Cell cell)
|
void |
end()
|
void |
endRow()
|
private void |
findInsertionPoint()
|
void |
startRow()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Cell[] EMPTY_CELL_ARRAY
private int currentRow
private int insertionPoint
private int nextOldCell
cellsOnCurrentRow.
private final Table owner
private final SortedSet<Cell> cellsIfEffect
private Cell[] cellsOnCurrentRow
cellsIfEffect sorted differently.
private boolean rowHadCells
private final String type
null if this is an implicit row group.
| Constructor Detail |
|---|
RowGroup(Table owner,
String type)
| Method Detail |
|---|
public void cell(Cell cell)
throws SAXException
SAXExceptionprivate void findInsertionPoint()
public void end()
throws SAXException
SAXException
public void endRow()
throws SAXException
SAXExceptionpublic void startRow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||