public static interface ExpressionResolver.ExpressionResolverHandler extends ExpressionResolver.ExpressionResolverProvider
|Modifier and Type||Method and Description|
<E extends Expression,R extends Expression> Optional<R> resolve(E expression, Class<R> resolutionType, ExpressionResolver.ResolutionContext context) throws Expression.InvalidExpressionException
expressionto obtain an
Expressionof the specified
resolutionType, using the suitable
ExpressionResolvers among all available resolvers for given expression and resolution type.
E- Expression type to resolve
R- Resolved expression type
expression- Expression to resolve (not null)
resolutionType- Type of the expression to obtain from resolvers (not null)
context- Resolution context
ExpressionResolvers, if any, resolved the expression
Expression.InvalidExpressionException- If an error occurred during expression resolution
Copyright © 2018 The Holon Platform. All rights reserved.