@ProviderType public interface ExpressionResolver
| Modifier and Type | Method and Description |
|---|---|
<T> T |
resolve(String expression,
Locale locale,
Class<T> expectedType,
PageContext pageContext)
Resolves the given expression.
|
<T> T |
resolve(String expression,
Locale locale,
Class<T> expectedType,
SlingHttpServletRequest request)
Resolves the given expression.
|
@Nonnull <T> T resolve(@Nonnull String expression, @Nonnull Locale locale, @Nonnull Class<T> expectedType, @Nonnull PageContext pageContext)
T - The type of the resolved expressionexpression - The expression to resolvelocale - The localeexpectedType - The type the result of the expression will be coerced to after
evaluationpageContext - The current page context@Nonnull <T> T resolve(@Nonnull String expression, @Nonnull Locale locale, @Nonnull Class<T> expectedType, @Nonnull SlingHttpServletRequest request)
T - The type of the resolved expressionexpression - The expression to resolvelocale - The localeexpectedType - The type the result of the expression will be coerced to after
evaluationrequest - The current requestCopyright © 2010 - 2020 Adobe. All Rights Reserved