|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ddf.EscherProperty
public abstract class EscherProperty
This is the abstract base class for all escher properties.
EscherOptRecord| Constructor Summary | |
|---|---|
EscherProperty(short id)
The id is distinct from the actual property number. |
|
EscherProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId)
Constructs a new escher property. |
|
| Method Summary | |
|---|---|
short |
getId()
|
java.lang.String |
getName()
|
short |
getPropertyNumber()
|
int |
getPropertySize()
Most properties are just 6 bytes in length. |
boolean |
isBlipId()
|
boolean |
isComplex()
|
abstract int |
serializeComplexPart(byte[] data,
int pos)
Escher properties consist of a simple fixed length part and a complex variable length part. |
abstract int |
serializeSimplePart(byte[] data,
int pos)
Escher properties consist of a simple fixed length part and a complex variable length part. |
abstract java.lang.String |
toString()
|
java.lang.String |
toXml(java.lang.String tab)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EscherProperty(short id)
id - the combined id
public EscherProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId)
propertyNumber - the property numberisComplex - true, if this is a complex propertyisBlipId - true, if this property is a blip id| Method Detail |
|---|
public short getId()
public short getPropertyNumber()
public boolean isComplex()
public boolean isBlipId()
public java.lang.String getName()
public int getPropertySize()
public java.lang.String toXml(java.lang.String tab)
public abstract int serializeSimplePart(byte[] data,
int pos)
data - the buffer to write topos - the starting position
public abstract int serializeComplexPart(byte[] data,
int pos)
data - the buffer to write topos - the starting position
public abstract java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||