Child records are deserialized on-demand unless the poi.deserialize.escher System Property is defined.
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private final List | |
| private final LazilyConcatenatedByteArray |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public void | |
| protected void | |
| private void | |
| public abstract AbstractEscherHolderRecord | copy()
Redeclares org. Implements abstract org.
|
| public void | |
| public EscherRecord | Returns: the record ornull if it can't be foundthe record to look for id)Descends into all our children, returning the first EscherRecord with the given id, or null if none found |
| private EscherRecord | |
| public EscherContainerRecord | Returns: the EscherContainerRecord ornull if no child is a container recordIf we have a EscherContainerRecord as one of our children (and most top level escher holders do), then return that. |
| public EscherRecord | |
| public List | |
| public List | getGenericChildren()
Overrides default org.
|
| public byte[] | |
| protected abstract String | |
| public int | getRecordSize()
Implements abstract org. gives the current serialized size of the record. |
| public abstract short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public void | join(AbstractEscherHolderRecord
the record data to concatenate to the end record)Big drawing group records are split but it's easier to deal with them as a whole group so we need to join them together. |
| public void | |
| public int | serialize(int
to begin writing at offset, byte[] byte array containing instance data data)Implements abstract org. called by the class that is responsible for writing this sucker. |
| public void |
| DESERIALIZE | back to summary |
|---|---|
| private static boolean DESERIALIZE | |
| escherRecords | back to summary |
|---|---|
| private final List<EscherRecord> escherRecords | |
| rawDataContainer | back to summary |
|---|---|
| private final LazilyConcatenatedByteArray rawDataContainer | |
| AbstractEscherHolderRecord | back to summary |
|---|---|
| public AbstractEscherHolderRecord() | |
| AbstractEscherHolderRecord | back to summary |
|---|---|
| public AbstractEscherHolderRecord(AbstractEscherHolderRecord other) | |
| AbstractEscherHolderRecord | back to summary |
|---|---|
| public AbstractEscherHolderRecord(RecordInputStream in) | |
| addEscherRecord | back to summary |
|---|---|
| public void addEscherRecord(int index, EscherRecord element) | |
| addEscherRecord | back to summary |
|---|---|
| public boolean addEscherRecord(EscherRecord element) | |
| clearEscherRecords | back to summary |
|---|---|
| public void clearEscherRecords() | |
| convertRawBytesToEscherRecords | back to summary |
|---|---|
| protected void convertRawBytesToEscherRecords()
Deprecated Call
| |
| convertToEscherRecords | back to summary |
|---|---|
| private void convertToEscherRecords(int offset, int size, byte[] data) | |
| copy | back to summary |
|---|---|
| public abstract AbstractEscherHolderRecord copy() Redeclares org. Implements abstract org.
| |
| decode | back to summary |
|---|---|
| public void decode() Convert raw data to escher records. | |
| findFirstWithId | back to summary |
|---|---|
| public EscherRecord findFirstWithId(short id) Descends into all our children, returning the first EscherRecord with the given id, or null if none found
| |
| findFirstWithId | back to summary |
|---|---|
| private EscherRecord findFirstWithId(short id, List<EscherRecord> records) | |
| getEscherContainer | back to summary |
|---|---|
| public EscherContainerRecord getEscherContainer() If we have a EscherContainerRecord as one of our children (and most top level escher holders do), then return that.
| |
| getEscherRecord | back to summary |
|---|---|
| public EscherRecord getEscherRecord(int index) | |
| getEscherRecords | back to summary |
|---|---|
| public List | |
| getGenericChildren | back to summary |
|---|---|
| public List Overrides default org.
| |
| getRawData | back to summary |
|---|---|
| public byte[] getRawData() | |
| getRecordName | back to summary |
|---|---|
| protected abstract String getRecordName() | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. gives the current serialized size of the record. Should include the sid and reclength (4 bytes).
| |
| getSid | back to summary |
|---|---|
| public abstract short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| join | back to summary |
|---|---|
| public void join(AbstractEscherHolderRecord record) Big drawing group records are split but it's easier to deal with them as a whole group so we need to join them together.
| |
| processContinueRecord | back to summary |
|---|---|
| public void processContinueRecord(byte[] record) | |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data) Implements abstract org. Doc from org. 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.
| |
| setRawData | back to summary |
|---|---|
| public void setRawData(byte[] rawData) | |