Package com.github.jknack.handlebars
Interface PathExpression.Chain
-
- Enclosing interface:
- PathExpression
public static interface PathExpression.Chain
Call the next expression in the chain and/or finalize the process if this was the tail.- Since:
- 4.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
next(ValueResolver resolver, Context context, java.lang.Object data)
Call the next resolver in the chain or finish the call.java.util.List<PathExpression>
path()
-
-
-
Method Detail
-
next
java.lang.Object next(ValueResolver resolver, Context context, java.lang.Object data)
Call the next resolver in the chain or finish the call.- Parameters:
resolver
- Value resolver.context
- Context object.data
- Data object.- Returns:
- A resolved value or
null
.
-
path
java.util.List<PathExpression> path()
- Returns:
- The current path to evaluate.
-
-