public abstract class RecordAggregate extends RecordBase
RecordAggregates are groups of of BIFF Records that are typically stored
together and/or updated together. Workbook / Sheet records are typically stored in a sequential
list, which does not provide much structure to coordinate updates.| Modifier and Type | Class and Description |
|---|---|
static class |
RecordAggregate.PositionTrackingVisitor
A wrapper for
RecordAggregate.RecordVisitor which accumulates the sizes of all
records visited. |
static interface |
RecordAggregate.RecordVisitor |
| Constructor and Description |
|---|
RecordAggregate() |
| Modifier and Type | Method and Description |
|---|---|
int |
getRecordSize()
gives the current serialized size of the record.
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
abstract void |
visitContainedRecords(RecordAggregate.RecordVisitor rv)
Visit each of the atomic BIFF records contained in this RecordAggregate in the order
that they should be written to file.
|
public abstract void visitContainedRecords(RecordAggregate.RecordVisitor rv)
Records being used to manage POI's internal implementation. Callers should not
assume either way, and therefore only attempt to modify those Records after cloningrv - The visitor to use for callbacks while walking this objectpublic final int serialize(int offset,
byte[] data)
RecordBaseserialize in class RecordBaseoffset - to begin writing atdata - byte array containing instance datapublic int getRecordSize()
RecordBasegetRecordSize in class RecordBaseCopyright 2022 The Apache Software Foundation or its licensors, as applicable.