Top Fields Constructors Methods
org.apache.poi.ss.formula.ptg

public Class UnknownPtg

extends Ptg
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.util.LittleEndianOutput

Field Summary

Modifier and TypeField and Description
private final int
private final short
Inherited from org.apache.poi.ss.formula.ptg.Ptg:
CLASS_ARRAYCLASS_REFCLASS_VALUEEMPTY_PTG_ARRAY

Constructor Summary

AccessConstructor and Description
public
UnknownPtg(int sid)

Method Summary

Modifier and TypeMethod and Description
public UnknownPtg
public byte
public Map<String, Supplier<?>>
public byte
public int
public boolean
public String
toFormulaString()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

return a string representation of this token alone

public void
Inherited from org.apache.poi.ss.formula.ptg.Ptg:
createPtgdoesFormulaReferToDeletedCellgetEncodedSizegetEncodedSizeWithoutArrayDatagetPtgClassgetRVATypereadTokensserializePtgssetClasstoString

Field Detail

_sidback to summary
private final int _sid
sizeback to summary
private final short size

Constructor Detail

UnknownPtgback to summary
public UnknownPtg(int sid)

Method Detail

copyback to summary
public UnknownPtg copy()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:UnknownPtg

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getDefaultOperandClassback to summary
public byte getDefaultOperandClass()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getDefaultOperandClass.

Annotations
@Override
getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getSidback to summary
public byte getSid()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getSid.

Returns:byte

Doc from org.apache.poi.ss.formula.ptg.Ptg.getSid.

structure id of the parsed thing, or -1 if the record has no sid

Annotations
@Override
getSizeback to summary
public int getSize()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getSize.

Returns:int

Doc from org.apache.poi.ss.formula.ptg.Ptg.getSize.

the encoded length of this Ptg, including the initial Ptg type identifier byte.

Annotations
@Override
isBaseTokenback to summary
public boolean isBaseToken()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.isBaseToken.

Returns:boolean

Doc from org.apache.poi.ss.formula.ptg.Ptg.isBaseToken.

false if this token is classified as 'reference', 'value', or 'array'

Annotations
@Override
toFormulaStringback to summary
public String toFormulaString()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

Doc from org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

return a string representation of this token alone

Annotations
@Override
writeback to summary
public void write(LittleEndianOutput out)

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.write.

Annotations
@Override