jxl.biff.formula
Class ParseItem

java.lang.Object
  |
  +--jxl.biff.formula.ParseItem
Direct Known Subclasses:
Operand, Operator, StringParseItem

abstract class ParseItem
extends java.lang.Object

Abstract base class for an item in a formula parse tree


Field Summary
private  ParseItem parent
          The parent of this parse item
 
Constructor Summary
ParseItem()
          Constructor
 
Method Summary
(package private) abstract  byte[] getBytes()
          Gets the token representation of this item in RPN
(package private) abstract  void getString(java.lang.StringBuffer buf)
          Gets the string representation of this item
protected  void setParent(ParseItem p)
          Called by this class to initialize the parent
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

parent

private ParseItem parent
The parent of this parse item
Constructor Detail

ParseItem

public ParseItem()
Constructor
Method Detail

setParent

protected void setParent(ParseItem p)
Called by this class to initialize the parent

getString

abstract void getString(java.lang.StringBuffer buf)
Gets the string representation of this item
Parameters:
ws - the workbook settings

getBytes

abstract byte[] getBytes()
Gets the token representation of this item in RPN
Returns:
the bytes applicable to this formula