public abstract class RecordAggregate extends RecordBase
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)
RecordAggregate
in the order
that they should be written to file. Implementors may or may not return the actual
Record
s being used to manage POI's internal implementation. Callers should not
assume either way, and therefore only attempt to modify those Record
s after cloningpublic final int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance datapublic int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
Copyright © 2020. All rights reserved.