Top Constructors Methods
org.apache.poi.hssf.eventusermodel.dummyrecord

pack-priv abstract Class DummyRecordBase

extends Record
Class Inheritance
Known Direct Subclasses
org.apache.poi.hssf.eventusermodel.dummyrecord.LastCellOfRowDummyRecord, org.apache.poi.hssf.eventusermodel.dummyrecord.MissingCellDummyRecord, org.apache.poi.hssf.eventusermodel.dummyrecord.MissingRowDummyRecord
Imports
org.apache.poi.hssf.record.Record, org.apache.poi.util.RecordFormatException

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public final int
getRecordSize()

Implements abstract org.apache.poi.hssf.record.RecordBase.getRecordSize.

gives the current serialized size of the record.

public final short
getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

public int
serialize(int
to begin writing at
offset
,
byte[]
byte array containing instance data
data
)

Implements abstract org.apache.poi.hssf.record.RecordBase.serialize.

called by the class that is responsible for writing this sucker.

Inherited from org.apache.poi.hssf.record.Record:
cloneViaReserialisecopygetGenericRecordTypeserializetoString

Constructor Detail

DummyRecordBaseback to summary
protected DummyRecordBase()

Method Detail

getRecordSizeback to summary
public final int getRecordSize()

Implements abstract org.apache.poi.hssf.record.RecordBase.getRecordSize.

Doc from org.apache.poi.hssf.record.RecordBase.getRecordSize.

gives the current serialized size of the record. Should include the sid and reclength (4 bytes).

Returns:int

the record size

getSidback to summary
public final short getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

Doc from org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

Returns:short

he id for this record

serializeback to summary
public int serialize(int offset, byte[] data)

Implements abstract org.apache.poi.hssf.record.RecordBase.serialize.

Doc from org.apache.poi.hssf.record.RecordBase.serialize.

called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.

Parameters
offset:int

to begin writing at

data:byte[]

byte array containing instance data

Returns:int

number of bytes written