Interface PathExpression


@Deprecated(since="2024-07-10") public interface PathExpression
Deprecated.
com.github.jknack.handlebars package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
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 
    Deprecated.
    com.github.jknack.handlebars package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
  • Method Summary

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

    • eval

      Object eval(ValueResolver resolver, Context context, Object data, PathExpression.Chain chain)
      Deprecated.
      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()
      Deprecated.
      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...