Package org.apache.el

Class ExpressionFactoryImpl

    • Constructor Detail

      • ExpressionFactoryImpl

        public ExpressionFactoryImpl()
    • Method Detail

      • coerceToType

        public Object coerceToType​(Object obj,
                                   Class<?> type)
        Description copied from class: javax.el.ExpressionFactory
        Coerce the supplied object to the requested type.
        Specified by:
        coerceToType in 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.
      • createMethodExpression

        public MethodExpression createMethodExpression​(ELContext context,
                                                       String expression,
                                                       Class<?> expectedReturnType,
                                                       Class<?>[] expectedParamTypes)
        Description copied from class: javax.el.ExpressionFactory
        Create a new method expression instance.
        Specified by:
        createMethodExpression in 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.
      • createValueExpression

        public ValueExpression createValueExpression​(ELContext context,
                                                     String expression,
                                                     Class<?> expectedType)
        Description copied from class: javax.el.ExpressionFactory
        Create a new value expression.
        Specified by:
        createValueExpression in 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