EscherOptRecord and
EscherTertiaryOptRecord
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| 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 List | |
| public EscherProperty | Returns: the escher propertythe ordinal index of the property index)The list of properties stored by this record. |
| public Map | |
| private int | |
| public int | getRecordSize()
Implements abstract org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public <T extends EscherProperty> T | |
| public <T extends EscherProperty> T | |
| public void | |
| 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 | |
| public void |
| properties | back to summary |
|---|---|
| private final List<EscherProperty> properties | |
| AbstractEscherOptRecord | back to summary |
|---|---|
| protected AbstractEscherOptRecord() | |
| AbstractEscherOptRecord | back to summary |
|---|---|
| protected AbstractEscherOptRecord(AbstractEscherOptRecord other) | |
| addEscherProperty | back to summary |
|---|---|
| public void addEscherProperty(EscherProperty prop) Add a property to this record.
| |
| 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.
| |
| getEscherProperties | back to summary |
|---|---|
| public List The list of properties stored by this record.
| |
| getEscherProperty | back to summary |
|---|---|
| public EscherProperty getEscherProperty(int index) The list of properties stored by this record.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getPropertiesSize | back to summary |
|---|---|
| private int getPropertiesSize() | |
| 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.
| |
| lookup | back to summary |
|---|---|
| public <T extends EscherProperty> T lookup(EscherPropertyTypes propType) | |
| lookup | back to summary |
|---|---|
public <T extends EscherProperty> T lookup(int propId)
| |
| removeEscherProperty | back to summary |
|---|---|
| public void removeEscherProperty(EscherPropertyTypes type) | |
| 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.
| |
| setEscherProperty | back to summary |
|---|---|
| public void setEscherProperty(EscherProperty value) Set an escher property. If a property with given propId already exists it is replaced.
| |
| sortProperties | back to summary |
|---|---|
| public void sortProperties() Records should be sorted by property number before being stored. | |