Package org.apache.poi.ddf
Class NullEscherSerializationListener
java.lang.Object
org.apache.poi.ddf.NullEscherSerializationListener
- All Implemented Interfaces:
EscherSerializationListener
Ignores all serialization events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterRecordSerialize
(int offset, short recordId, int size, EscherRecord record) Fired after a record has been serialized.void
beforeRecordSerialize
(int offset, short recordId, EscherRecord record) Fired before a given escher record is serialized.
-
Constructor Details
-
NullEscherSerializationListener
public NullEscherSerializationListener()
-
-
Method Details
-
beforeRecordSerialize
Description copied from interface:EscherSerializationListener
Fired before a given escher record is serialized.- Specified by:
beforeRecordSerialize
in interfaceEscherSerializationListener
- Parameters:
offset
- The position in the data array at which the record will be serialized.recordId
- The id of the record about to be serialized.record
- The record to be serialized
-
afterRecordSerialize
Description copied from interface:EscherSerializationListener
Fired after a record has been serialized.- Specified by:
afterRecordSerialize
in interfaceEscherSerializationListener
- Parameters:
offset
- The position of the end of the serialized record + 1recordId
- The id of the record about to be serializedsize
- The number of bytes written for this record. If it is a container record then this will include the size of any included records.record
- The record which was serialized
-