public abstract class BaseMetaInfoReader<T extends IMemberBoundNode> extends Object implements MetaInfoReader
| Modifier and Type | Field and Description |
|---|---|
protected static CellMetaInfo |
NOT_FOUND |
| Constructor and Description |
|---|
BaseMetaInfoReader(T boundNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstant(ICell cell,
NodeUsage nodeUsage) |
protected abstract CellMetaInfo |
getBodyMetaInfo(int row,
int col) |
T |
getBoundNode() |
protected abstract CellMetaInfo |
getHeaderMetaInfo() |
CellMetaInfo |
getMetaInfo(int row,
int col)
Get meta info for a given row and column.
|
protected abstract TableSyntaxNode |
getTableSyntaxNode() |
protected boolean |
isNeededCell(CellKey cellKey,
int row,
int col) |
protected boolean |
isNeededCell(ICell cell,
int row,
int col) |
void |
prepare(IGridRegion region)
Preliminary load meta info for a given region.
|
void |
release()
Release meta info loaded in
MetaInfoReader.prepare(IGridRegion) |
void |
setBoundNode(T boundNode) |
protected static final CellMetaInfo NOT_FOUND
public BaseMetaInfoReader(T boundNode)
public void setBoundNode(T boundNode)
public T getBoundNode()
public final CellMetaInfo getMetaInfo(int row, int col)
MetaInfoReadergetMetaInfo in interface MetaInfoReaderrow - rowcol - columnpublic void prepare(IGridRegion region)
MetaInfoReaderMetaInfoReader.getMetaInfo(int, int), then meta
info for full table can be loaded.prepare in interface MetaInfoReaderregion - region to load meta infopublic void release()
MetaInfoReaderMetaInfoReader.prepare(IGridRegion)release in interface MetaInfoReaderprotected abstract TableSyntaxNode getTableSyntaxNode()
protected abstract CellMetaInfo getHeaderMetaInfo()
protected abstract CellMetaInfo getBodyMetaInfo(int row, int col)
protected boolean isNeededCell(CellKey cellKey, int row, int col)
protected boolean isNeededCell(ICell cell, int row, int col)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.