Package org.apache.poi.ss.formula.ptg
Class ScalarConstantPtg
- java.lang.Object
-
- org.apache.poi.ss.formula.ptg.Ptg
-
- org.apache.poi.ss.formula.ptg.ScalarConstantPtg
-
- All Implemented Interfaces:
Serializable
,Duplicatable
,GenericRecord
public abstract class ScalarConstantPtg extends Ptg
Common superclass of allPtgs
that represent simple constant values.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
-
Constructor Summary
Constructors Constructor Description ScalarConstantPtg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getDefaultOperandClass()
boolean
isBaseToken()
-
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
copy, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toFormulaString, toString, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericProperties, getGenericRecordType
-
-
-
-
Method Detail
-
isBaseToken
public final boolean isBaseToken()
- Specified by:
isBaseToken
in classPtg
- Returns:
false
if this token is classified as 'reference', 'value', or 'array'
-
getDefaultOperandClass
public final byte getDefaultOperandClass()
- Specified by:
getDefaultOperandClass
in classPtg
-
-