public class EscherComplexProperty extends EscherProperty
id| Constructor and Description |
|---|
EscherComplexProperty(short propertyNumber,
boolean isBlipId,
byte[] complexData)
Create a complex property using the property number, a flag to indicate whether this is a
blip reference and the complex property data.
|
EscherComplexProperty(short id,
byte[] complexData)
Create a complex property using the property id and a byte array containing the complex
data value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether this property is equal to another property.
|
byte[] |
getComplexData()
Get the complex data value.
|
int |
getPropertySize()
Caclulates the number of bytes required to serialize this property.
|
int |
hashCode()
Calculates a hashcode for this property.
|
int |
serializeComplexPart(byte[] data,
int pos)
Serializes the complex part of this property
|
int |
serializeSimplePart(byte[] data,
int pos)
Serializes the simple part of this property.
|
String |
toString()
Retrieves the string representation for this property.
|
getId, getName, getPropertyNumber, isBlipId, isComplexpublic EscherComplexProperty(short id,
byte[] complexData)
id - The id consists of the property number, a flag indicating whether this is a blip id and a flag
indicating that this is a complex property.complexData - The value of this property.public EscherComplexProperty(short propertyNumber,
boolean isBlipId,
byte[] complexData)
propertyNumber - The property numberisBlipId - Whether this is a blip id. Should be false.complexData - The value of this complex property.public int serializeSimplePart(byte[] data,
int pos)
serializeSimplePart in class EscherPropertypublic int serializeComplexPart(byte[] data,
int pos)
serializeComplexPart in class EscherPropertydata - The data array to serialize topos - The offset within data to start serializing to.public byte[] getComplexData()
public boolean equals(Object o)
public int getPropertySize()
getPropertySize in class EscherPropertypublic int hashCode()
Copyright © 2014 Open Microscopy Environment