Interface EvaluationContext

    • Method Detail

      • getRootObject

        TypedValue getRootObject()
        Return the default root context object against which unqualified properties/methods/etc should be resolved. This can be overridden when evaluating an expression.
      • getTypeLocator

        TypeLocator getTypeLocator()
        Return a type locator that can be used to find types, either by short or fully qualified name.
      • setVariable

        void setVariable​(String name,
                         Object value)
        Set a named variable within this evaluation context to a specified value.
        Parameters:
        name - variable to set
        value - value to be placed in the variable
      • lookupVariable

        Object lookupVariable​(String name)
        Look up a named variable within this evaluation context.
        Parameters:
        name - variable to lookup
        Returns:
        the value of the variable, or null if not found