Module com.sun.el
Package com.sun.el

Class ExpressionFactoryImpl


  • public class ExpressionFactoryImpl
    extends jakarta.el.ExpressionFactory
    Version:
    $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
    Author:
    Jacob Hookom [jacob@hookom.net], Kin-man Chung
    See Also:
    ExpressionFactory
    • Constructor Detail

      • ExpressionFactoryImpl

        public ExpressionFactoryImpl()
      • ExpressionFactoryImpl

        public ExpressionFactoryImpl​(Properties properties)
    • Method Detail

      • coerceToType

        public <T> T coerceToType​(Object obj,
                                  Class<T> type)
        Coerces an object to a specific type according to the Jakarta Expression Language type conversion rules. The custom type conversions in the 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.
        Specified by:
        coerceToType in class jakarta.el.ExpressionFactory
      • createMethodExpression

        public jakarta.el.MethodExpression createMethodExpression​(jakarta.el.ELContext context,
                                                                  String expression,
                                                                  Class<?> expectedReturnType,
                                                                  Class<?>[] expectedParamTypes)
        Specified by:
        createMethodExpression in class jakarta.el.ExpressionFactory
      • createValueExpression

        public jakarta.el.ValueExpression createValueExpression​(jakarta.el.ELContext context,
                                                                String expression,
                                                                Class<?> expectedType)
        Specified by:
        createValueExpression in class jakarta.el.ExpressionFactory
      • createValueExpression

        public jakarta.el.ValueExpression createValueExpression​(Object instance,
                                                                Class<?> expectedType)
        Specified by:
        createValueExpression in class jakarta.el.ExpressionFactory
      • getStreamELResolver

        public jakarta.el.ELResolver getStreamELResolver()
        Overrides:
        getStreamELResolver in class jakarta.el.ExpressionFactory
      • getInitFunctionMap

        public Map<String,​Method> getInitFunctionMap()
        Overrides:
        getInitFunctionMap in class jakarta.el.ExpressionFactory