org.apache.poi.hssf.record.formula
Class Ptg

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.Ptg
Direct Known Subclasses:
AddPtg, AreaPtg, AttrPtg, DividePtg, ExpPtg, IntPtg, MemErrPtg, MultiplyPtg, NamePtg, ParenthesisPtg, PowerPtg, SubtractPtg, UnknownPtg, ValueReferencePtg, ValueVariableFunctionPtg

public abstract class Ptg
extends java.lang.Object

Author:
andy

Constructor Summary
Ptg()
          Creates new Ptg
 
Method Summary
static Ptg createPtg(byte[] data, int offset)
           
 byte[] getBytes()
           
 int getPrecedence()
          Ptg's should override this
abstract  int getSize()
           
 int getStringLength()
           
abstract  java.lang.String toFormulaString()
           
abstract  void writeBytes(byte[] array, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ptg

public Ptg()
Creates new Ptg
Method Detail

createPtg

public static Ptg createPtg(byte[] data,
                            int offset)

getSize

public abstract int getSize()

getBytes

public final byte[] getBytes()

writeBytes

public abstract void writeBytes(byte[] array,
                                int offset)

toFormulaString

public abstract java.lang.String toFormulaString()

getPrecedence

public int getPrecedence()
Ptg's should override this

getStringLength

public int getStringLength()


Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.