public class DecimalExpression extends Object implements Expression
| Constructor and Description |
|---|
DecimalExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExpressionVisitor visitor)
Allows an expression visitor to visit this expression and it's sub-expressions (implements Visitor design
pattern).
|
Type |
getReturnType()
Returns the double type.
|
ValueObject |
getValue()
Gets the value object for decimal value.
|
void |
initialize(ExpressionContext expressionContext,
Object objectInfo,
boolean validate)
Initializes the double value object.
|
String |
toString() |
void |
uninitialize(ExpressionContext expressionContext)
Uninitaizes the expression
|
public ValueObject getValue() throws ExpressionEngineException
getValue in interface ExpressionExpressionEngineException - if there is any problem during executionExpression.getValue()public Type getReturnType() throws ExpressionEngineException
getReturnType in interface ExpressionExpressionEngineException - If there is any problem during executionExpression.getReturnType()public void initialize(ExpressionContext expressionContext, Object objectInfo, boolean validate) throws ExpressionEngineException
initialize in interface ExpressionexpressionContext - contextual information, may help in
initializationobjectInfo - for example, sub expressions and identifiersExpressionEngineException - if there is any problem during executionorg.vedantatree.expressionoasis.expressions.Expression#initialize(org.vedantatree.expressionoasis.ExpressionContext,
java.lang.Object)public void uninitialize(ExpressionContext expressionContext)
uninitialize in interface ExpressionexpressionContext - contextual information, may help in
un-initializationExpression.uninitialize(org.vedantatree.expressionoasis.ExpressionContext)public String toString()
toString in class ObjectObject.toString()public void accept(ExpressionVisitor visitor)
accept in interface Expressionvisitor - a visitor object that this expression must visit when accept is called.org.vedantatree.expressionoasis.expressions.Expression#accept(org.vedantatree.expressionoasis.ExpressionVisitor)