public abstract class CellRecord extends StandardRecord implements CellValueRecordInterface
CellValueRecordInterface).
Subclasses are expected to manage the cell data values (of various types).| Modifier | Constructor and Description |
|---|---|
protected |
CellRecord() |
protected |
CellRecord(CellRecord other) |
protected |
CellRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
abstract CellRecord |
copy() |
short |
getColumn() |
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
protected abstract java.lang.String |
getRecordName()
Gets the debug info BIFF record type name (used by
Record.toString(). |
int |
getRow() |
protected abstract int |
getValueDataSize() |
short |
getXFIndex()
get the index to the ExtendedFormat
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
protected abstract void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
|
void |
setColumn(short col) |
void |
setRow(int row) |
void |
setXFIndex(short xf)
set the index to the ExtendedFormat
|
getRecordSize, serializecloneViaReserialise, getGenericRecordType, getSid, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenprotected CellRecord()
protected CellRecord(CellRecord other)
protected CellRecord(RecordInputStream in)
public final void setRow(int row)
setRow in interface CellValueRecordInterfacerow - the row this cell occurs withinpublic final void setColumn(short col)
setColumn in interface CellValueRecordInterfacecol - the column this cell definespublic final void setXFIndex(short xf)
setXFIndex in interface CellValueRecordInterfacexf - index to the XF recordExtendedFormatRecordpublic final int getRow()
getRow in interface CellValueRecordInterfacepublic final short getColumn()
getColumn in interface CellValueRecordInterfacepublic final short getXFIndex()
getXFIndex in interface CellValueRecordInterfaceExtendedFormatRecordprotected abstract java.lang.String getRecordName()
Record.toString().protected abstract void serializeValue(LittleEndianOutput out)
out - the outputprotected abstract int getValueDataSize()
public final void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()} minus four (
record header consisting of a 'ushort sid' and 'ushort reclength' has
already been written by their superclass).
serialize in class StandardRecordout - the output objectprotected final int getDataSize()
getDataSize in class StandardRecordpublic abstract CellRecord copy()
copy in interface Duplicatablecopy in class StandardRecordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.