| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final byte[] | |
| private static int | |
| public static final short | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherClientDataRecord | copy()
Implements abstract org. Implements org.
|
| public int | fillFields(byte[]
The byte array containing the serialized escher
records. data, int The offset into the byte array. offset, EscherRecordFactory A factory for creating new escher records. recordFactory)Implements abstract org. The contract of this method is to deserialize an escher record including its children. |
| public Map | |
| public Enum | |
| public static int | |
| public short | |
| public String | getRecordName()
Implements abstract org. Subclasses should return the short name for this escher record. |
| public int | getRecordSize()
Implements abstract org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public byte[] | |
| public int | serialize(int
the offset within the byte array offset, byte[] the data array to serialize to data, EscherSerializationListener a listener for begin and end serialization events. This
is useful because the serialization is
hierarchical/recursive and sometimes you need to be able
break into that. listener)Implements abstract org. Serializes the record to an existing byte array. |
| public static void | |
| public void |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MAX_RECORD_LENGTH | |
| EMPTY | back to summary |
|---|---|
| private static final byte[] EMPTY | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH | |
| RECORD_ID | back to summary |
|---|---|
| public static final short RECORD_ID | |
| remainingData | back to summary |
|---|---|
| private byte[] remainingData | |
| EscherClientDataRecord | back to summary |
|---|---|
| public EscherClientDataRecord() | |
| EscherClientDataRecord | back to summary |
|---|---|
| public EscherClientDataRecord(EscherClientDataRecord other) | |
| copy | back to summary |
|---|---|
| public EscherClientDataRecord copy() Implements abstract org. Implements org.
| |
| fillFields | back to summary |
|---|---|
| public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) Implements abstract org. Doc from org. The contract of this method is to deserialize an escher record including its children.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public Enum Overrides default org.
| |
| getMaxRecordLength | back to summary |
|---|---|
public static int getMaxRecordLength()
| |
| getRecordId | back to summary |
|---|---|
| public short getRecordId() Overrides org. Doc from org. Return the current record id.
| |
| getRecordName | back to summary |
|---|---|
| public String getRecordName() Implements abstract org. Doc from org. Subclasses should return the short name for this escher record. | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. Subclasses should effeciently return the number of bytes required to serialize the record.
| |
| getRemainingData | back to summary |
|---|---|
| public byte[] getRemainingData() Any data recording this record.
| |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data, EscherSerializationListener listener) Implements abstract org. Doc from org. Serializes the record to an existing byte array.
| |
| setMaxRecordLength | back to summary |
|---|---|
public static void setMaxRecordLength(int length)
| |
| setRemainingData | back to summary |
|---|---|
| public void setRemainingData(byte[] remainingData) Any data recording this record.
| |