public final class StringPtg extends ScalarConstantPtg
| Modifier and Type | Field | Description |
|---|---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Constructor | Description |
|---|---|
StringPtg(java.lang.String value) |
Create a StringPtg from a string representation of the number Number
format is not checked, it is expected to be validated in the parser that
calls this method.
|
StringPtg(LittleEndianInput in) |
Create a StringPtg from a stream
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getSize() |
|
java.lang.String |
getValue() |
|
java.lang.String |
toFormulaString() |
return a string representation of this token alone
|
void |
write(LittleEndianOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClassgetDefaultOperandClass, isBaseToken, toStringpublic static final byte sid
public StringPtg(LittleEndianInput in)
public StringPtg(java.lang.String value)
value - :
String representation of a floating point numberpublic java.lang.String getValue()
public void write(LittleEndianOutput out)
public int getSize()
public java.lang.String toFormulaString()
PtgtoFormulaString in class PtgCopyright 2018 The Apache Software Foundation or its licensors, as applicable.