org.outerj.expression
Interface ExpressionContext

All Known Implementing Classes:
ReportImpl.ReportExpressionContext, Step.StepExpressionContext, SummaryExpressionContextWrapper

public interface ExpressionContext

ExpressionContext is passed to Expressions during their evaluate-method.


Method Summary
 java.lang.Object get(java.lang.String name)
          Get "something" with a certain name.
 java.lang.Object resolveVariable(java.lang.String name)
          Returns the value of the named variable, or null if there's no variable by that name.
 

Method Detail

resolveVariable

public java.lang.Object resolveVariable(java.lang.String name)
Returns the value of the named variable, or null if there's no variable by that name.


get

public java.lang.Object get(java.lang.String name)
Get "something" with a certain name. This could be used if functions need access to external resources, but is not used by the default function library.