Class ScalarConstantPtg

java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.ScalarConstantPtg
All Implemented Interfaces:
org.apache.poi.common.Duplicatable, GenericRecord
Direct Known Subclasses:
BoolPtg, ErrPtg, IntPtg, MissingArgPtg, NumberPtg, StringPtg

public abstract class ScalarConstantPtg extends Ptg
Common superclass of all Ptgs that represent simple constant values.
  • Constructor Details

    • ScalarConstantPtg

      public ScalarConstantPtg()
  • Method Details

    • isBaseToken

      public final boolean isBaseToken()
      Specified by:
      isBaseToken in class Ptg
      Returns:
      false if this token is classified as 'reference', 'value', or 'array'
    • getDefaultOperandClass

      public final byte getDefaultOperandClass()
      Specified by:
      getDefaultOperandClass in class Ptg