org.apache.poi.hssf.record.formula.functions
Class TextFunction

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.TextFunction
All Implemented Interfaces:
Function
Direct Known Subclasses:
Concatenate, Exact, Left, Len, Lower, Mid, Replace, Right, Substitute, Trim, Upper

public abstract class TextFunction
extends java.lang.Object
implements Function

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com >

Field Summary
protected static java.lang.String EMPTY_STRING
           
 
Constructor Summary
TextFunction()
           
 
Method Summary
protected  ValueEval attemptXlateToText(ValueEval ve)
          converts from Different ValueEval types to StringEval.
protected  ValueEval singleOperandEvaluate(Eval eval, int srcRow, short srcCol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.poi.hssf.record.formula.functions.Function
evaluate
 

Field Detail

EMPTY_STRING

protected static final java.lang.String EMPTY_STRING
See Also:
Constant Field Values
Constructor Detail

TextFunction

public TextFunction()
Method Detail

singleOperandEvaluate

protected ValueEval singleOperandEvaluate(Eval eval,
                                          int srcRow,
                                          short srcCol)

attemptXlateToText

protected ValueEval attemptXlateToText(ValueEval ve)
converts from Different ValueEval types to StringEval. Note: AreaEvals are not handled, if arg is an AreaEval, the returned value is ErrorEval.VALUE_INVALID

Parameters:
ve -


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