Package org.apache.el
Class ExpressionFactoryImpl
- java.lang.Object
- 
- javax.el.ExpressionFactory
- 
- org.apache.el.ExpressionFactoryImpl
 
 
- 
 public class ExpressionFactoryImpl extends ExpressionFactory - Author:
- Jacob Hookom [jacob@hookom.net]
- See Also:
- ExpressionFactory
 
- 
- 
Constructor SummaryConstructors Constructor Description ExpressionFactoryImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectcoerceToType(java.lang.Object obj, java.lang.Class<?> type)Coerce the supplied object to the requested type.MethodExpressioncreateMethodExpression(ELContext context, java.lang.String expression, java.lang.Class<?> expectedReturnType, java.lang.Class<?>[] expectedParamTypes)Create a new method expression instance.ValueExpressioncreateValueExpression(java.lang.Object instance, java.lang.Class<?> expectedType)ValueExpressioncreateValueExpression(ELContext context, java.lang.String expression, java.lang.Class<?> expectedType)Create a new value expression.ELResolvergetStreamELResolver()- 
Methods inherited from class javax.el.ExpressionFactorygetInitFunctionMap, newInstance, newInstance
 
- 
 
- 
- 
- 
Method Detail- 
coerceToTypepublic java.lang.Object coerceToType(java.lang.Object obj, java.lang.Class<?> type)Description copied from class:javax.el.ExpressionFactoryCoerce the supplied object to the requested type.- Specified by:
- coerceToTypein class- ExpressionFactory
- 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, java.lang.String expression, java.lang.Class<?> expectedReturnType, java.lang.Class<?>[] expectedParamTypes) Description copied from class:javax.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, java.lang.String expression, java.lang.Class<?> expectedType) Description copied from class:javax.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
 
 - 
createValueExpressionpublic ValueExpression createValueExpression(java.lang.Object instance, java.lang.Class<?> expectedType) - Specified by:
- createValueExpressionin class- ExpressionFactory
 
 - 
getStreamELResolverpublic ELResolver getStreamELResolver() - Overrides:
- getStreamELResolverin class- ExpressionFactory
- Returns:
- This default implementation returns null
 
 
- 
 
-