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(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, isComplex
public 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 EscherProperty
public int serializeComplexPart(byte[] data, int pos)
serializeComplexPart
in class EscherProperty
public int getPropertyValue()
public boolean equals(Object o)
public int hashCode()
public String toString()
public String toXml(String tab)
toXml
in class EscherProperty
Copyright © 2020. All rights reserved.