public class ExpressionFactoryImpl
extends javax.el.ExpressionFactory
ExpressionFactory| Constructor | Description |
|---|---|
ExpressionFactoryImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
coerceToType(java.lang.Object obj,
java.lang.Class<?> type) |
Coerce the supplied object to the requested type.
|
javax.el.MethodExpression |
createMethodExpression(javax.el.ELContext context,
java.lang.String expression,
java.lang.Class<?> expectedReturnType,
java.lang.Class<?>[] expectedParamTypes) |
Create a new method expression instance.
|
javax.el.ValueExpression |
createValueExpression(java.lang.Object instance,
java.lang.Class<?> expectedType) |
|
javax.el.ValueExpression |
createValueExpression(javax.el.ELContext context,
java.lang.String expression,
java.lang.Class<?> expectedType) |
Create a new value expression.
|
javax.el.ELResolver |
getStreamELResolver() |
public java.lang.Object coerceToType(java.lang.Object obj,
java.lang.Class<?> type)
javax.el.ExpressionFactorycoerceToType in class javax.el.ExpressionFactoryobj - The object to be coercedtype - The type to which the object should be coercedpublic javax.el.MethodExpression createMethodExpression(javax.el.ELContext context,
java.lang.String expression,
java.lang.Class<?> expectedReturnType,
java.lang.Class<?>[] expectedParamTypes)
javax.el.ExpressionFactorycreateMethodExpression in class javax.el.ExpressionFactorycontext - The EL context for this evaluationexpression - The String representation of the method
expressionexpectedReturnType - The expected type of the result of invoking the
methodexpectedParamTypes - The expected types of the input parameterspublic javax.el.ValueExpression createValueExpression(javax.el.ELContext context,
java.lang.String expression,
java.lang.Class<?> expectedType)
javax.el.ExpressionFactorycreateValueExpression in class javax.el.ExpressionFactorycontext - The EL context for this evaluationexpression - The String representation of the value expressionexpectedType - The expected type of the result of evaluating the
expressionpublic javax.el.ValueExpression createValueExpression(java.lang.Object instance,
java.lang.Class<?> expectedType)
createValueExpression in class javax.el.ExpressionFactorypublic javax.el.ELResolver getStreamELResolver()
getStreamELResolver in class javax.el.ExpressionFactoryCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.