Interface PathExpression


  • public interface PathExpression
    Compiled version of path expression, like: this, foo, foo.bar.
    Since:
    4.0.1
    See Also:
    PathCompiler.compile(String)
    • Method Detail

      • eval

        java.lang.Object eval​(ValueResolver resolver,
                              Context context,
                              java.lang.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...