com.japisoft.formula.node
Class ValueNodeHP

java.lang.Object
  extended bycom.japisoft.formula.node.AbstractNode
      extended bycom.japisoft.formula.node.ValueNode
          extended bycom.japisoft.formula.node.ValueNodeHP

public class ValueNodeHP
extends ValueNode

Value node for high precision

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Field Summary
 
Fields inherited from class com.japisoft.formula.node.AbstractNode
children, highPrecisionMode, op, roundingMode
 
Constructor Summary
ValueNodeHP()
           
 
Method Summary
 java.lang.Object evaluate(NodeContext ctx)
           
 void setValue(java.lang.String val)
           
 
Methods inherited from class com.japisoft.formula.node.ValueNode
isString, setString, toString
 
Methods inherited from class com.japisoft.formula.node.AbstractNode
addChildNode, dump, getChildAt, getChildCount, getColumn, getContent, getLine, getPos, isLeaf, setContent, setOp, setPos, setPos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueNodeHP

public ValueNodeHP()
Method Detail

setValue

public void setValue(java.lang.String val)
Overrides:
setValue in class ValueNode

evaluate

public java.lang.Object evaluate(NodeContext ctx)
                          throws EvaluateException
Overrides:
evaluate in class ValueNode
Throws:
EvaluateException