public abstract class Ptg
extends java.lang.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 java.lang.Object |
clone() |
static java.util.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(java.util.Stack expression,
byte[] array,
int offset) |
void |
setClass(byte thePtgClass) |
java.lang.String |
toDebugString()
dump a debug representation (hexdump) to a string
|
abstract java.lang.String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
java.lang.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 java.util.Stack createParsedExpressionTokens(short size, RecordInputStream in)
public static Ptg createPtg(RecordInputStream in)
public static int serializePtgStack(java.util.Stack expression, byte[] array, int offset)
public abstract int getSize()
public final byte[] getBytes()
public abstract void writeBytes(byte[] array, int offset)
public abstract java.lang.String toFormulaString(Workbook book)
public java.lang.String toDebugString()
public java.lang.String toString()
toString
in class java.lang.Object
public void setClass(byte thePtgClass)
public byte getPtgClass()
public abstract byte getDefaultOperandClass()
public abstract java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2014 Open Microscopy Environment