public class EscherSimpleProperty extends EscherProperty
| Modifier and Type | Field and Description |
|---|---|
protected int |
propertyValue |
| 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(java.lang.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.
|
java.lang.String |
toString() |
java.lang.String |
toXml(java.lang.String tab) |
getId, getName, getPropertyNumber, getPropertySize, isBlipId, isComplexpublic EscherSimpleProperty(short id,
int propertyValue)
public EscherSimpleProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId,
int propertyValue)
public int serializeSimplePart(byte[] data,
int offset)
serializeSimplePart in class EscherPropertypublic int serializeComplexPart(byte[] data,
int pos)
serializeComplexPart in class EscherPropertypublic int getPropertyValue()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toXml(java.lang.String tab)
toXml in class EscherPropertyCopyright 2014 The Apache Software Foundation or its licensors, as applicable.