Package loci.poi.hssf.record.formula
Class NamePtg
- java.lang.Object
-
- loci.poi.hssf.record.formula.Ptg
-
- loci.poi.hssf.record.formula.NamePtg
-
public class NamePtg extends Ptg
- Author:
- andy, Jason Height (jheight at chariot dot net dot au)
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Fields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
-
-
Constructor Summary
Constructors Constructor Description NamePtg(String name, Workbook book)
Creates new NamePtgNamePtg(RecordInputStream in)
Creates new NamePtg
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
byte
getDefaultOperandClass()
int
getSize()
String
toFormulaString(Workbook book)
return a string representation of this token alonevoid
writeBytes(byte[] array, int offset)
write this Ptg to a byte array-
Methods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NamePtg
public NamePtg(RecordInputStream in)
Creates new NamePtg
-
-
Method Detail
-
writeBytes
public void writeBytes(byte[] array, int offset)
Description copied from class:Ptg
write this Ptg to a byte array- Specified by:
writeBytes
in classPtg
-
toFormulaString
public String toFormulaString(Workbook book)
Description copied from class:Ptg
return a string representation of this token alone- Specified by:
toFormulaString
in classPtg
-
getDefaultOperandClass
public byte getDefaultOperandClass()
- Specified by:
getDefaultOperandClass
in classPtg
-
-