public class DrawingGroupRecord extends AbstractEscherHolderRecord
Modifier and Type | Field and Description |
---|---|
private static int |
MAX_DATA_SIZE |
(package private) static int |
MAX_RECORD_SIZE |
static short |
sid |
Constructor and Description |
---|
DrawingGroupRecord() |
DrawingGroupRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
getRawDataSize() |
protected String |
getRecordName() |
int |
getRecordSize()
Size of record (including 4 byte headers for all sections)
|
short |
getSid()
return the non static version of the id for this record.
|
(package private) static int |
grossSizeFromDataSize(int dataSize) |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
private void |
writeContinueHeader(byte[] data,
int offset,
int sizeExcludingHeader) |
private int |
writeData(int offset,
byte[] data,
byte[] rawData) |
private void |
writeHeader(byte[] data,
int offset,
int sizeExcludingHeader) |
addEscherRecord, addEscherRecord, clearEscherRecords, clone, decode, fillFields, getEscherRecord, getEscherRecords, getRawData, join, processContinueRecord, setRawData, toString, validateSid
isInValueSection, isValue, serialize
public static final short sid
static final int MAX_RECORD_SIZE
private static final int MAX_DATA_SIZE
public DrawingGroupRecord()
public DrawingGroupRecord(RecordInputStream in)
protected String getRecordName()
getRecordName
in class AbstractEscherHolderRecord
public short getSid()
Record
getSid
in class AbstractEscherHolderRecord
public int serialize(int offset, byte[] data)
Record
serialize
in class AbstractEscherHolderRecord
offset
- to begin writing atdata
- byte array containing instance datapublic int getRecordSize()
getRecordSize
in class AbstractEscherHolderRecord
public int getRawDataSize()
static int grossSizeFromDataSize(int dataSize)
private int writeData(int offset, byte[] data, byte[] rawData)
private void writeHeader(byte[] data, int offset, int sizeExcludingHeader)
private void writeContinueHeader(byte[] data, int offset, int sizeExcludingHeader)
Copyright © 2015 Open Microscopy Environment