Top Description Fields Constructors Methods
org.apache.poi.ddf

public Class DefaultEscherRecordFactory

extends Object
implements EscherRecordFactory
Class Inheritance
All Implemented Interfaces
org.apache.poi.ddf.EscherRecordFactory
Known Direct Subclasses
org.apache.poi.hssf.record.EscherAggregate.ShapeCollector
Imports
java.util.function.Supplier, org.apache.poi.util.BitField, .BitFieldFactory, .LittleEndian

Generates escher records when provided the byte array containing those records.
See Also
EscherRecordFactory

Field Summary

Modifier and TypeField and Description
private static final BitField

Constructor Summary

AccessConstructor and Description
public
DefaultEscherRecordFactory()

Creates an instance of the escher record factory

Method Summary

Modifier and TypeMethod and Description
public EscherRecord
createRecord(byte[]
The byte array containing the records
data
,
int
The starting offset into the byte array
offset
)

Implements org.apache.poi.ddf.EscherRecordFactory.createRecord.

Generates an escher record including any children contained under that record.

protected Supplier<? extends EscherRecord>
getConstructor(short options, short recordId)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

IS_CONTAINERback to summary
private static final BitField IS_CONTAINER

Constructor Detail

DefaultEscherRecordFactoryback to summary
public DefaultEscherRecordFactory()

Creates an instance of the escher record factory

Method Detail

createRecordback to summary
public EscherRecord createRecord(byte[] data, int offset)

Implements org.apache.poi.ddf.EscherRecordFactory.createRecord.

Doc from org.apache.poi.ddf.EscherRecordFactory.createRecord.

Generates an escher record including any children contained under that record. An exception is thrown if the record could not be generated.

Parameters
data:byte[]

The byte array containing the records

offset:int

The starting offset into the byte array

Returns:EscherRecord

The generated escher record

Annotations
@Override
getConstructorback to summary
protected Supplier<? extends EscherRecord> getConstructor(short options, short recordId)