com.japisoft.formula.node
Class TernaryOperatorNode

java.lang.Object
  |
  +--com.japisoft.formula.node.AbstractNode
        |
        +--com.japisoft.formula.node.TernaryOperatorNode

public class TernaryOperatorNode
extends AbstractNode

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

Constructor Summary
TernaryOperatorNode()
           
 
Method Summary
 java.lang.Object evaluate(NodeContext ctx)
           
 void setOperator(java.lang.String name, TernaryOperator operator)
           
 
Methods inherited from class com.japisoft.formula.node.AbstractNode
addChildNode, dump, getChildAt, getChildCount, getContent, getPos, isLeaf, setContent, setOp, setPos
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TernaryOperatorNode

public TernaryOperatorNode()
Method Detail

setOperator

public void setOperator(java.lang.String name,
                        TernaryOperator operator)

evaluate

public java.lang.Object evaluate(NodeContext ctx)
                          throws EvaluateException
Specified by:
evaluate in class AbstractNode
EvaluateException