com.plotnix.jex
Interface VariableExpression

All Known Implementing Classes:
InterpretedExpression, JavaScriptVariableExpression, JXPathCompiledExpression

public interface VariableExpression

Compiled form of a left-hand side expression, which can be assigned a value.

Version:
$Revision$ $Date$
Author:
Dmitri Plotnikov

Method Summary
 void assign(Context context, java.lang.Object value, java.lang.Object[] arguments)
          Modifies a value in the specified context according to the expression and the supplied arguments.
 

Method Detail

assign

public void assign(Context context,
                   java.lang.Object value,
                   java.lang.Object[] arguments)
Modifies a value in the specified context according to the expression and the supplied arguments. Casts the type of the value if necessary.
Parameters:
context - is an evaluation context.
value - is the new value
arguments - are argument of the expression. Can be null if the expression does not take any arguments.


Copyright (c) 2002 - Plotnix, Inc