|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.formula.ParseItem | +--jxl.biff.formula.Operand | +--jxl.biff.formula.StringValue
A string constant operand in a formula
Field Summary | |
private java.lang.String |
value
The string value |
Fields inherited from class jxl.biff.formula.ParseItem |
parent |
Constructor Summary | |
StringValue()
Constructor |
|
StringValue(java.lang.String s)
Constructor used when parsing a string formula |
Method Summary | |
(package private) byte[] |
getBytes()
Gets the token representation of this item in RPN |
void |
getString(java.lang.StringBuffer buf)
Abstract method implementation to get the string equivalent of this token |
int |
read(byte[] data,
int pos)
Reads the ptg data from the array starting at the specified position |
Methods inherited from class jxl.biff.formula.ParseItem |
setParent |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String value
Constructor Detail |
public StringValue()
public StringValue(java.lang.String s)
s
- the string token, including quote marksMethod Detail |
public int read(byte[] data, int pos)
read
in interface ParsedThing
data
- the RPN arraypos
- the current position in the array, excluding the ptg identifierbyte[] getBytes()
getBytes
in class ParseItem
public void getString(java.lang.StringBuffer buf)
getString
in class ParseItem
buf
- the string to append to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |