com.japisoft.formula.node
Class GroupNode

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

public class GroupNode
extends AbstractNode

Group node definition. This node shouln't be empty. Otherwise a null value is returned.. If more than one child node is found, only the first one is evaluated.

More information at : http://www.japisoft.com

Version:
1.0
Author:
(c) 2002-2003 JAPISOFT

Constructor Summary
GroupNode()
           
 
Method Summary
 java.lang.Object evaluate(NodeContext ctx)
           
 boolean isParamMode()
           
 void setParamMode(boolean param)
          Param if this is a group from a function parameters
 
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

GroupNode

public GroupNode()
Method Detail

setParamMode

public void setParamMode(boolean param)
Param if this is a group from a function parameters


isParamMode

public boolean isParamMode()

evaluate

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