Interface PathExpression


public interface PathExpression
Compiled version of path expression, like: this, foo, foo.bar.
Since:
4.0.1
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Call the next expression in the chain and/or finalize the process if this was the tail.
  • Method Summary

    Modifier and Type
    Method
    Description
    eval(ValueResolver resolver, Context context, Object data, PathExpression.Chain chain)
    Eval the expression and resolve it to a value.
    boolean
     
  • Method Details

    • eval

      Object eval(ValueResolver resolver, Context context, Object data, PathExpression.Chain chain)
      Eval the expression and resolve it to a value.
      Parameters:
      resolver - Value resolver
      context - Context object.
      data - Data object.
      chain - Expression chain.
      Returns:
      A resolved value or null.
    • local

      boolean local()
      Returns:
      True if this expression is local. That's lookup won't be propagate to parent (or any other). Example of these expressions are: this.name this, etc...