Package org.apache.poi.hssf.record
Class CellRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.CellRecord
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord,CellValueRecordInterface
- Direct Known Subclasses:
BoolErrRecord,FormulaRecord,LabelSSTRecord,NumberRecord,RKRecord
public abstract class CellRecord extends StandardRecord implements CellValueRecordInterface
Base class for all cell value records (implementors ofCellValueRecordInterface). Subclasses are expected to manage the cell data values (of various types).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CellRecordcopy()shortgetColumn()java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()intgetRow()shortgetXFIndex()get the index to the ExtendedFormatvoidserialize(LittleEndianOutput out)voidsetColumn(short col)voidsetRow(int row)voidsetXFIndex(short xf)set the index to the ExtendedFormat-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, getGenericRecordType, getSid, serialize, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Method Detail
-
setRow
public final void setRow(int row)
- Specified by:
setRowin interfaceCellValueRecordInterface- Parameters:
row- the row this cell occurs within
-
setColumn
public final void setColumn(short col)
- Specified by:
setColumnin interfaceCellValueRecordInterface- Parameters:
col- the column this cell defines
-
setXFIndex
public final void setXFIndex(short xf)
set the index to the ExtendedFormat- Specified by:
setXFIndexin interfaceCellValueRecordInterface- Parameters:
xf- index to the XF record- See Also:
ExtendedFormatRecord
-
getRow
public final int getRow()
- Specified by:
getRowin interfaceCellValueRecordInterface- Returns:
- the row this cell occurs on
-
getColumn
public final short getColumn()
- Specified by:
getColumnin interfaceCellValueRecordInterface- Returns:
- the column this cell defines within the row
-
getXFIndex
public final short getXFIndex()
get the index to the ExtendedFormat- Specified by:
getXFIndexin interfaceCellValueRecordInterface- Returns:
- index to the XF record
- See Also:
ExtendedFormatRecord
-
serialize
public final void serialize(LittleEndianOutput out)
-
copy
public abstract CellRecord copy()
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-