public class ExpressionFactoryImpl
extends jakarta.el.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.
|
jakarta.el.MethodExpression |
createMethodExpression(jakarta.el.ELContext context,
String expression,
Class<?> expectedReturnType,
Class<?>[] expectedParamTypes) |
jakarta.el.ValueExpression |
createValueExpression(jakarta.el.ELContext context,
String expression,
Class<?> expectedType) |
jakarta.el.ValueExpression |
createValueExpression(Object instance,
Class<?> expectedType) |
Map<String,Method> |
getInitFunctionMap() |
String |
getProperty(String key) |
jakarta.el.ELResolver |
getStreamELResolver() |
public 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 jakarta.el.ExpressionFactorypublic jakarta.el.MethodExpression createMethodExpression(jakarta.el.ELContext context,
String expression,
Class<?> expectedReturnType,
Class<?>[] expectedParamTypes)
createMethodExpression in class jakarta.el.ExpressionFactorypublic jakarta.el.ValueExpression createValueExpression(jakarta.el.ELContext context,
String expression,
Class<?> expectedType)
createValueExpression in class jakarta.el.ExpressionFactorypublic jakarta.el.ValueExpression createValueExpression(Object instance, Class<?> expectedType)
createValueExpression in class jakarta.el.ExpressionFactorypublic jakarta.el.ELResolver getStreamELResolver()
getStreamELResolver in class jakarta.el.ExpressionFactoryComments to: el-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.