com.japisoft.formula.node
Class NodeFactory
java.lang.Object
com.japisoft.formula.node.NodeFactory
- public class NodeFactory
- extends java.lang.Object
Factory for selecting a node. This factory
is used by the parsing listener for creating
a formula tree.
If you wish to use your node, you have to
override this class
- Version:
- 1.1
- Author:
- (c) 2002-2004 JAPISOFT
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeFactory
public NodeFactory()
setCurrentPos
public void setCurrentPos(int pos)
- Reset the current parse location
getRootNode
public AbstractNode getRootNode()
getFunctionNode
public AbstractNode getFunctionNode()
getVariableNode
public AbstractNode getVariableNode()
getGroupNode
public AbstractNode getGroupNode()
getBinaryOperator
public AbstractNode getBinaryOperator()
getTernaryOperator
public AbstractNode getTernaryOperator()
getUnaryOperator
public AbstractNode getUnaryOperator()
getValueNode
public AbstractNode getValueNode()