gran.app
Class CalculatedValue
java.lang.Object
gran.app.CalculatedValue
- public class CalculatedValue
- extends java.lang.Object
|
Constructor Summary |
CalculatedValue(java.lang.String formula,
Secured tci)
Possible it need checks for vulnerability |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TASK_METHODS
protected static OrderedTree TASK_METHODS
USER_METHODS
protected static OrderedTree USER_METHODS
TASK
public static final java.lang.String TASK
- See Also:
- Constant Field Values
USER
public static final java.lang.String USER
- See Also:
- Constant Field Values
CalculatedValue
public CalculatedValue(java.lang.String formula,
Secured tci)
throws GranException
- Possible it need checks for vulnerability
- Parameters:
formula - Encoded formula. Use decode() to decodingtci -
- Throws:
GranException
getNameSpace
public bsh.NameSpace getNameSpace()
getMethods
public java.util.HashMap getMethods()
getOperators
public java.util.HashMap getOperators()
getConstants
public java.util.HashMap getConstants()
getObjects
public OrderedTree getObjects()
setFormula
public void setFormula(java.lang.String formula)
getValue
public java.lang.Object getValue()
throws GranException,
bsh.EvalError
- Throws:
GranException
bsh.EvalError
decode
public static java.lang.String decode(java.lang.String s)
encode
public static java.lang.String encode(java.lang.String sent)
Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.