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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.Ptg
      extended by org.apache.poi.hssf.record.formula.RefErrorPtg

public class RefErrorPtg
extends Ptg

RefError - handles deleted cell reference

Author:
Jason Height (jheight at chariot dot net dot au)

Field Summary
static byte sid
           
 
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
 
Constructor Summary
RefErrorPtg(RecordInputStream in)
           
 
Method Summary
 java.lang.Object clone()
           
 byte getDefaultOperandClass()
           
 int getReserved()
           
 int getSize()
           
 void setReserved(int reserved)
           
 java.lang.String toFormulaString(Workbook book)
          return a string representation of this token alone
 java.lang.String toString()
          Overridden toString method to ensure object hash is not printed.
 void writeBytes(byte[] array, int offset)
          write this Ptg to a byte array
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sid

public static final byte sid
See Also:
Constant Field Values
Constructor Detail

RefErrorPtg

public RefErrorPtg(RecordInputStream in)
Method Detail

toString

public java.lang.String toString()
Description copied from class: Ptg
Overridden toString method to ensure object hash is not printed. This helps get rid of gratuitous diffs when comparing two dumps Subclasses may output more relevant information by overriding this method

Overrides:
toString in class Ptg

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Description copied from class: Ptg
write this Ptg to a byte array

Specified by:
writeBytes in class Ptg

setReserved

public void setReserved(int reserved)

getReserved

public int getReserved()

getSize

public int getSize()
Specified by:
getSize in class Ptg

toFormulaString

public java.lang.String toFormulaString(Workbook book)
Description copied from class: Ptg
return a string representation of this token alone

Specified by:
toFormulaString in class Ptg

getDefaultOperandClass

public byte getDefaultOperandClass()
Specified by:
getDefaultOperandClass in class Ptg

clone

public java.lang.Object clone()
Specified by:
clone in class Ptg


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.