public abstract class Ptg extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static byte | CLASS_ARRAY | 
| static byte | CLASS_REF | 
| static byte | CLASS_VALUE | 
| protected byte | ptgClass | 
| Constructor and Description | 
|---|
| Ptg() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Object | clone() | 
| static Stack | createParsedExpressionTokens(short size,
                            RecordInputStream in) | 
| static Ptg | createPtg(RecordInputStream in) | 
| byte[] | getBytes() | 
| abstract byte | getDefaultOperandClass() | 
| byte | getPtgClass()returns the class (REF/VALUE/ARRAY) for this Ptg | 
| abstract int | getSize() | 
| static int | serializePtgStack(Stack expression,
                 byte[] array,
                 int offset) | 
| void | setClass(byte thePtgClass) | 
| String | toDebugString()dump a debug representation (hexdump) to a string | 
| abstract String | toFormulaString(Workbook book)return a string representation of this token alone | 
| String | toString()Overridden toString method to ensure object hash is not printed. | 
| abstract void | writeBytes(byte[] array,
          int offset)write this Ptg to a byte array | 
public static final byte CLASS_REF
public static final byte CLASS_VALUE
public static final byte CLASS_ARRAY
protected byte ptgClass
public static Stack createParsedExpressionTokens(short size, RecordInputStream in)
public static Ptg createPtg(RecordInputStream in)
public static int serializePtgStack(Stack expression, byte[] array, int offset)
public abstract int getSize()
public final byte[] getBytes()
public abstract void writeBytes(byte[] array,
              int offset)
public abstract String toFormulaString(Workbook book)
public String toDebugString()
public String toString()
public void setClass(byte thePtgClass)
public byte getPtgClass()
public abstract byte getDefaultOperandClass()
Copyright © 2014 Open Microscopy Environment