| java.lang.Object org.apache.poi.ddf.EscherProperty org.apache.poi.ddf.EscherComplexProperty
All known Subclasses: org.apache.poi.ddf.EscherArrayProperty,
EscherComplexProperty | public class EscherComplexProperty extends EscherProperty (Code) | | A complex property differs from a simple property in that the data can not fit inside a 32 bit
integer. See the specification for more detailed information regarding exactly what is
stored here.
author: Glen Stampoultzis |
Constructor Summary | |
public | EscherComplexProperty(short id, byte[] complexData) Create a complex property using the property id and a byte array containing the complex
data value. | public | 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.
Parameters: propertyNumber - The property number Parameters: isBlipId - Whether this is a blip id. |
Method Summary | |
public boolean | equals(Object o) Determine whether this property is equal to another property.
Parameters: o - The object to compare to. | public byte[] | getComplexData() Get the complex data value. | public int | getPropertySize() Caclulates the number of bytes required to serialize this property. | public int | hashCode() Calculates a hashcode for this property. | public int | serializeComplexPart(byte[] data, int pos) Serializes the complex part of this property
Parameters: data - The data array to serialize to Parameters: pos - The offset within data to start serializing to. | public int | serializeSimplePart(byte[] data, int pos) Serializes the simple part of this property. | public String | toString() Retrieves the string representation for this property. |
complexData | byte[] complexData(Code) | | |
EscherComplexProperty | public EscherComplexProperty(short id, byte[] complexData)(Code) | | Create a complex property using the property id and a byte array containing the complex
data value.
Parameters: id - The id consists of the property number, a flag indicating whether this is a blip id and a flagindicating that this is a complex property. Parameters: complexData - The value of this property. |
EscherComplexProperty | public EscherComplexProperty(short propertyNumber, boolean isBlipId, byte[] complexData)(Code) | | Create a complex property using the property number, a flag to indicate whether this is a
blip reference and the complex property data.
Parameters: propertyNumber - The property number Parameters: isBlipId - Whether this is a blip id. Should be false. Parameters: complexData - The value of this complex property. |
equals | public boolean equals(Object o)(Code) | | Determine whether this property is equal to another property.
Parameters: o - The object to compare to. True if the objects are equal. |
getComplexData | public byte[] getComplexData()(Code) | | Get the complex data value.
|
getPropertySize | public int getPropertySize()(Code) | | Caclulates the number of bytes required to serialize this property.
Number of bytes |
hashCode | public int hashCode()(Code) | | Calculates a hashcode for this property.
|
serializeComplexPart | public int serializeComplexPart(byte[] data, int pos)(Code) | | Serializes the complex part of this property
Parameters: data - The data array to serialize to Parameters: pos - The offset within data to start serializing to. The number of bytes serialized. |
serializeSimplePart | public int serializeSimplePart(byte[] data, int pos)(Code) | | Serializes the simple part of this property. ie the first 6 bytes.
|
toString | public String toString()(Code) | | Retrieves the string representation for this property.
|
Fields inherited from org.apache.poi.ddf.EscherProperty | protected short id(Code)(Java Doc)
|
|
|