Package com.github.jknack.handlebars
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
Modifier and TypeInterfaceDescriptionstatic 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 TypeMethodDescriptioneval
(ValueResolver resolver, Context context, Object data, PathExpression.Chain chain) Deprecated.Eval the expression and resolve it to a value.boolean
local()
Deprecated.
-
Method Details
-
eval
Deprecated.Eval the expression and resolve it to a value.- Parameters:
resolver
- Value resolvercontext
- 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...
-