Package org.apache.el
Class ExpressionFactoryImpl
java.lang.Object
jakarta.el.ExpressionFactory
org.apache.el.ExpressionFactoryImpl
- Author:
- Jacob Hookom [jacob@hookom.net]
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> TcoerceToType(Object obj, Class<T> type) Coerce the supplied object to the requested type.createMethodExpression(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes) Create a new method expression instance.createValueExpression(ELContext context, String expression, Class<?> expectedType) Create a new value expression.createValueExpression(Object instance, Class<?> expectedType) Methods inherited from class jakarta.el.ExpressionFactorygetInitFunctionMap, newInstance, newInstance
- 
Constructor Details- 
ExpressionFactoryImplpublic ExpressionFactoryImpl()
 
- 
- 
Method Details- 
coerceToTypeDescription copied from class:jakarta.el.ExpressionFactoryCoerce the supplied object to the requested type.- Specified by:
- coerceToTypein class- ExpressionFactory
- Type Parameters:
- T- The type to which the object should be coerced
- Parameters:
- obj- The object to be coerced
- type- The type to which the object should be coerced
- Returns:
- An instance of the requested type.
 
- 
createMethodExpressionpublic MethodExpression createMethodExpression(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes) Description copied from class:jakarta.el.ExpressionFactoryCreate a new method expression instance.- Specified by:
- createMethodExpressionin class- ExpressionFactory
- Parameters:
- context- The EL context for this evaluation
- expression- The String representation of the method expression
- expectedReturnType- The expected type of the result of invoking the method
- expectedParamTypes- The expected types of the input parameters
- Returns:
- A new method expression formed from the input parameters.
 
- 
createValueExpressionpublic ValueExpression createValueExpression(ELContext context, String expression, Class<?> expectedType) Description copied from class:jakarta.el.ExpressionFactoryCreate a new value expression.- Specified by:
- createValueExpressionin class- ExpressionFactory
- Parameters:
- context- The EL context for this evaluation
- expression- The String representation of the value expression
- expectedType- The expected type of the result of evaluating the expression
- Returns:
- A new value expression formed from the input parameters
 
- 
createValueExpression- Specified by:
- createValueExpressionin class- ExpressionFactory
 
- 
getStreamELResolver- Overrides:
- getStreamELResolverin class- ExpressionFactory
- Returns:
- This default implementation returns null
 
 
-