| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final int | |
| private static final int | |
| private static int | |
| private static final byte[] | |
| private byte[] | thedata
The data for this record not including the 8 byte header |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public UnknownEscherRecord | 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. |
| pack-priv int | |
| public List | |
| public byte[] | |
| public Map | |
| public Enum | |
| public static int | |
| 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 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 void | setChildRecords(List<EscherRecord>
Not used in base implementation. childRecords)Overrides org. Sets the child records for this record. |
| public static void |
| _childRecords | back to summary |
|---|---|
| private final List<EscherRecord> _childRecords | |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MAX_RECORD_LENGTH | |
| MAX_NESTED_CHILD_NODES | back to summary |
|---|---|
| private static final int MAX_NESTED_CHILD_NODES | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH | |
| NO_BYTES | back to summary |
|---|---|
| private static final byte[] NO_BYTES | |
| thedata | back to summary |
|---|---|
| private byte[] thedata The data for this record not including the 8 byte header | |
| UnknownEscherRecord | back to summary |
|---|---|
| public UnknownEscherRecord() | |
| UnknownEscherRecord | back to summary |
|---|---|
| public UnknownEscherRecord(UnknownEscherRecord other) | |
| addChildRecord | back to summary |
|---|---|
| public void addChildRecord(EscherRecord childRecord) | |
| copy | back to summary |
|---|---|
| public UnknownEscherRecord 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.
| |
| fillFields | back to summary |
|---|---|
| pack-priv int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory, int nesting) | |
| getChildRecords | back to summary |
|---|---|
| public List Overrides org.
| |
| getData | back to summary |
|---|---|
public byte[] getData()
| |
| 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()
| |
| 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.
| |
| 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.
| |
| setChildRecords | back to summary |
|---|---|
| public void setChildRecords(List<EscherRecord> childRecords) Overrides org. Doc from org. Sets the child records for this record. By default this will throw an exception as only EscherContainerRecords may have children.
| |
| setMaxRecordLength | back to summary |
|---|---|
public static void setMaxRecordLength(int length)
| |