public class ExpressionFactoryImpl extends ExpressionFactory
ExpressionFactory| Constructor and Description |
|---|
ExpressionFactoryImpl() |
ExpressionFactoryImpl(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToType(Object obj,
Class<?> type)
Coerces an object to a specific type according to the Jakarta Expression Language type conversion rules.
|
MethodExpression |
createMethodExpression(ELContext context,
String expression,
Class<?> expectedReturnType,
Class<?>[] expectedParamTypes) |
ValueExpression |
createValueExpression(ELContext context,
String expression,
Class<?> expectedType) |
ValueExpression |
createValueExpression(Object instance,
Class<?> expectedType) |
Map<String,Method> |
getInitFunctionMap() |
String |
getProperty(String key) |
ELResolver |
getStreamELResolver() |
newInstance, newInstancepublic ExpressionFactoryImpl()
public ExpressionFactoryImpl(Properties properties)
public Object coerceToType(Object obj, Class<?> type)
ELResolvers are not considered.
Jakarta Expression Language version 2.2 backward compatibility conversion rules apply if ExpressionFactoryImpl was created with property
"jakarta.el.bc2.2" set to true.coerceToType in class ExpressionFactorypublic MethodExpression createMethodExpression(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes)
createMethodExpression in class ExpressionFactorypublic ValueExpression createValueExpression(ELContext context, String expression, Class<?> expectedType)
createValueExpression in class ExpressionFactorypublic ValueExpression createValueExpression(Object instance, Class<?> expectedType)
createValueExpression in class ExpressionFactorypublic ELResolver getStreamELResolver()
getStreamELResolver in class ExpressionFactorypublic Map<String,Method> getInitFunctionMap()
getInitFunctionMap in class ExpressionFactoryComments to: el-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.