@ProviderType public interface ExpressionResolver
Modifier and Type | Method and Description |
---|---|
<T> T |
resolve(java.lang.String expression,
java.util.Locale locale,
java.lang.Class<T> expectedType,
javax.servlet.jsp.PageContext pageContext)
Resolves the given expression.
|
<T> T |
resolve(java.lang.String expression,
java.util.Locale locale,
java.lang.Class<T> expectedType,
SlingHttpServletRequest request)
Resolves the given expression.
|
@Nonnull <T> T resolve(@Nonnull java.lang.String expression, @Nonnull java.util.Locale locale, @Nonnull java.lang.Class<T> expectedType, @Nonnull javax.servlet.jsp.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 java.lang.String expression, @Nonnull java.util.Locale locale, @Nonnull java.lang.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