public class EscherSimpleProperty extends EscherProperty
| Constructor and Description |
|---|
EscherSimpleProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId,
int propertyValue)
Constructs a new escher property.
|
EscherSimpleProperty(short id,
int propertyValue)
The id is distinct from the actual property number.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns true if one escher property is equal to another.
|
int |
getPropertyValue() |
int |
hashCode()
Returns a hashcode so that this object can be stored in collections that
require the use of such things.
|
int |
serializeComplexPart(byte[] data,
int pos)
Escher properties consist of a simple fixed length part and a complex variable length part.
|
int |
serializeSimplePart(byte[] data,
int offset)
Serialize the simple part of the escher record.
|
String |
toString() |
String |
toXml(String tab) |
getId, getName, getPropertyNumber, getPropertySize, isBlipId, isComplexpublic EscherSimpleProperty(short id,
int propertyValue)
id - the property idpropertyValue - the property valuepublic EscherSimpleProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId,
int propertyValue)
propertyNumber - the property numberisComplex - true, if its a complex propertyisBlipId - true, if its a blippropertyValue - the property valuepublic int serializeSimplePart(byte[] data,
int offset)
serializeSimplePart in class EscherPropertydata - the buffer to write tooffset - the starting positionpublic int serializeComplexPart(byte[] data,
int pos)
serializeComplexPart in class EscherPropertydata - the buffer to write topos - the starting positionpublic int getPropertyValue()
public boolean equals(Object o)
public int hashCode()
public String toString()
toString in class EscherPropertypublic String toXml(String tab)
toXml in class EscherPropertyCopyright © 2010 - 2020 Adobe. All Rights Reserved