Interface ReferenceBinding

All Superinterfaces:
Binding, LoadBinding
All Known Implementing Classes:
IndirectBinding, ReferenceBindingImpl

public interface ReferenceBinding extends LoadBinding
A reference to an expression.
Since:
6.0.0
Author:
henrichen
See Also:
  • XelELContext.getVariableMapper()
  • Method Details

    • getValue

      Object getValue(BindELContext ctx)
      Returns the referenced value.
      Parameters:
      ctx - the context to evaluate the reference expression.
      Returns:
      the referenced value.
    • setValue

      void setValue(BindELContext ctx, Object value)
      Sets the value to referenced object
      Parameters:
      ctx - the context to evaluate the reference expression.
    • getPropertyString

      String getPropertyString()
      Returns the reference expression script of this binding.
      Returns:
      the reference expression script of this binding.
    • invalidateCache

      void invalidateCache()
      Invalidate cached value of this reference.