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

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.Ptg
        |
        +--org.apache.poi.hssf.record.formula.ParenthesisPtg
All Implemented Interfaces:
OperationPtg

public class ParenthesisPtg
extends Ptg
implements OperationPtg

Dummy class, we want it only for for the parsing process does not actually get into the file -- note by andy...there is a parenthesis PTG that can be written and is sometimes! Avik Sengupta


Fields inherited from interface org.apache.poi.hssf.record.formula.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
 
Constructor Summary
ParenthesisPtg()
           
 
Method Summary
 int getNumberOfOperands()
           
 int getSize()
           
 int getType()
           
 java.lang.String toFormulaString()
           
 java.lang.String toFormulaString(Ptg[] operands)
           
 void writeBytes(byte[] array, int offset)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createPtg, getBytes, getPrecedence, getStringLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParenthesisPtg

public ParenthesisPtg()
Method Detail

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Overrides:
writeBytes in class Ptg

getSize

public int getSize()
Overrides:
getSize in class Ptg

getType

public int getType()
Specified by:
getType in interface OperationPtg

getNumberOfOperands

public int getNumberOfOperands()
Specified by:
getNumberOfOperands in interface OperationPtg

toFormulaString

public java.lang.String toFormulaString()
Overrides:
toFormulaString in class Ptg

toFormulaString

public java.lang.String toFormulaString(Ptg[] operands)
Specified by:
toFormulaString in interface OperationPtg


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