Uses of Class
jakarta.el.ELContext
Packages that use ELContext
Package
Description
Provides the API for Jakarta Expression Language 4.0
-
Uses of ELContext in com.sun.el
Methods in com.sun.el with parameters of type ELContextModifier and TypeMethodDescriptionExpressionFactoryImpl.createMethodExpression(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes) ExpressionFactoryImpl.createValueExpression(ELContext context, String expression, Class<?> expectedType) MethodExpressionImpl.getMethodInfo(ELContext context) Evaluates the expression relative to the provided context, and returns information about the actual referenced method.MethodExpressionLiteral.getMethodInfo(ELContext context) Class<?> Class<?> ValueExpressionImpl.getValueReference(ELContext context) Evaluates the expression relative to the provided context, invokes the method that was found using the supplied parameters, and returns the result of the method invocation.booleanValueExpressionImpl.isReadOnly(ELContext context) booleanValueExpressionLiteral.isReadOnly(ELContext context) voidvoid -
Uses of ELContext in com.sun.el.lang
Subclasses of ELContext in com.sun.el.langModifier and TypeClassDescriptionfinal classThe context for Jakarta Expression expression evaluation.Fields in com.sun.el.lang declared as ELContextMethods in com.sun.el.lang that return ELContextConstructors in com.sun.el.lang with parameters of type ELContextModifierConstructorDescriptionEvaluationContext(ELContext elContext, FunctionMapper fnMapper, VariableMapper varMapper) ExpressionBuilder(String expression, ELContext ctx) -
Uses of ELContext in com.sun.el.stream
Methods in com.sun.el.stream with parameters of type ELContextModifier and TypeMethodDescriptionClass<?> StreamELResolver.getCommonPropertyType(ELContext context, Object base) StreamELResolver.getFeatureDescriptors(ELContext context, Object base) Class<?> StreamELResolver.invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) booleanStreamELResolver.isReadOnly(ELContext context, Object base, Object property) void -
Uses of ELContext in com.sun.el.util
Methods in com.sun.el.util with parameters of type ELContext -
Uses of ELContext in jakarta.el
Subclasses of ELContext in jakarta.elModifier and TypeClassDescriptionclassA standard ELContext suitable for use in a stand alone environment.Fields in jakarta.el declared as ELContextModifier and TypeFieldDescription(package private) ELContextCompositeELResolver.CompositeIterator.contextprivate ELContextLambdaExpression.contextprivate ELContextStandardELContext.delegateMethods in jakarta.el that return ELContextModifier and TypeMethodDescriptionELContextEvent.getELContext()Returns theELContextthat was created.ELManager.setELContext(ELContext context) Set the ELContext used for parsing and evaluating Jakarta Expression Language expressions.Methods in jakarta.el with parameters of type ELContextModifier and TypeMethodDescriptionvoidEvaluationListener.afterEvaluation(ELContext context, String expression) Receives notification after a Jakarta Expression Language expression is evaluatedvoidEvaluationListener.beforeEvaluation(ELContext context, String expression) Receives notification before a Jakarta Expression Language expression is evaluated(package private) static Object[]ELUtil.buildParameters(ELContext context, Class<?>[] parameterTypes, boolean isVarArgs, Object[] params) CompositeELResolver.convertToType(ELContext context, Object obj, Class<?> targetType) Converts an object to a specific type.ELResolver.convertToType(ELContext context, Object obj, Class<?> targetType) Converts an object to a specific type.abstract ObjectTypeConverter.convertToType(ELContext context, Object obj, Class<?> targetType) Converts an object to a specific type.abstract MethodExpressionExpressionFactory.createMethodExpression(ELContext context, String expression, Class<?> expectedReturnType, Class<?>[] expectedParamTypes) Parses an expression into aMethodExpressionfor later evaluation.abstract ValueExpressionExpressionFactory.createValueExpression(ELContext context, String expression, Class<?> expectedType) Parses an expression into aValueExpressionfor later evaluation.private BeanELResolver.BeanPropertyBeanELResolver.getBeanProperty(ELContext context, Object base, Object prop) Class<?> ArrayELResolver.getCommonPropertyType(ELContext context, Object base) If the base object is a Java language array, returns the most general type that this resolver accepts for thepropertyargument.Class<?> BeanELResolver.getCommonPropertyType(ELContext context, Object base) If the base object is notnull, returns the most general type that this resolver accepts for thepropertyargument.Class<?> BeanNameELResolver.getCommonPropertyType(ELContext context, Object base) Always returnsString.class, since a bean name is a String.Class<?> CompositeELResolver.getCommonPropertyType(ELContext context, Object base) Returns the most general type that this resolver accepts for thepropertyargument, given abaseobject.abstract Class<?> ELResolver.getCommonPropertyType(ELContext context, Object base) Returns the most general type that this resolver accepts for thepropertyargument, given abaseobject.Class<?> ListELResolver.getCommonPropertyType(ELContext context, Object base) If the base object is a list, returns the most general type that this resolver accepts for thepropertyargument.Class<?> MapELResolver.getCommonPropertyType(ELContext context, Object base) If the base object is a map, returns the most general type that this resolver accepts for thepropertyargument.Class<?> ResourceBundleELResolver.getCommonPropertyType(ELContext context, Object base) If the base object is a ResourceBundle, returns the most general type that this resolver accepts for thepropertyargument.Class<?> StaticFieldELResolver.getCommonPropertyType(ELContext context, Object base) Returns the type of the property.Class<?> TypeConverter.getCommonPropertyType(ELContext context, Object base) static StringELUtil.getExceptionMessageString(ELContext context, String messageId) Convenience method, calls through to getExceptionMessageString(ELContext,java.lang.String,Object []).static StringELUtil.getExceptionMessageString(ELContext context, String messageId, Object[] params) ArrayELResolver.getFeatureDescriptors(ELContext context, Object base) Always returnsnull, since there is no reason to iterate through set set of all integers.BeanELResolver.getFeatureDescriptors(ELContext context, Object base) If the base object is notnull, returns anIteratorcontaining the set of JavaBeans properties available on the given object.BeanNameELResolver.getFeatureDescriptors(ELContext context, Object base) Always returnsnull, since there is no reason to iterate through a list of one element: bean name.CompositeELResolver.getFeatureDescriptors(ELContext context, Object base) Returns information about the set of variables or properties that can be resolved for the givenbaseobject.abstract Iterator<FeatureDescriptor> ELResolver.getFeatureDescriptors(ELContext context, Object base) Returns information about the set of variables or properties that can be resolved for the givenbaseobject.ListELResolver.getFeatureDescriptors(ELContext context, Object base) Always returnsnull, since there is no reason to iterate through set set of all integers.MapELResolver.getFeatureDescriptors(ELContext context, Object base) If the base object is a map, returns anIteratorcontaining the set of keys available in theMap.ResourceBundleELResolver.getFeatureDescriptors(ELContext context, Object base) If the base object is a ResourceBundle, returns anIteratorcontaining the set of keys available in theResourceBundle.StaticFieldELResolver.getFeatureDescriptors(ELContext context, Object base) Returns the properties that can be resolved.TypeConverter.getFeatureDescriptors(ELContext context, Object base) abstract MethodInfoMethodExpression.getMethodInfo(ELContext context) Evaluates the expression relative to the provided context, and returns information about the actual referenced method.Class<?> If the base object is an array, returns the most general acceptable type for a value in this array.Class<?> If the base object is notnull, returns the most general acceptable type that can be set on this bean property.Class<?> If the base is null and the property is a name resolvable by the BeanNameResolver, return the type of the bean.Class<?> For a givenbaseandproperty, attempts to identify the most general type that is acceptable for an object to be passed as thevalueparameter in a future call to theCompositeELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)method.abstract Class<?> For a givenbaseandproperty, attempts to identify the most general type that is acceptable for an object to be passed as thevalueparameter in a future call to theELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)method.Class<?> If the base object is a list, returns the most general acceptable type for a value in this list.Class<?> If the base object is a map, returns the most general acceptable type for a value in this map.Class<?> If the base object is an instance ofResourceBundle, returnnull, since the resolver is read only.Class<?> Returns the type of a static field.Class<?> abstract Class<?> Evaluates the expression relative to the provided context, and returns the most general type that is acceptable for an object to be passed as thevalueparameter in a future call to theValueExpression.setValue(jakarta.el.ELContext, java.lang.Object)method.If the base object is a Java language array, returns the value at the given index.If the base object is notnull, returns the current value of the given property on this bean.If the base object isnulland the property is a name that is resolvable by the BeanNameResolver, returns the value resolved by the BeanNameResolver.Attempts to resolve the givenpropertyobject on the givenbaseobject by querying all component resolvers.abstract ObjectAttempts to resolve the givenpropertyobject on the givenbaseobject.If the base object is a list, returns the value at the given index.If the base object is a map, returns the value associated with the given key, as specified by thepropertyargument.If the base object is an instance ofResourceBundle, the provided property will first be coerced to aString.Returns the value of a static field.abstract ObjectEvaluates the expression relative to the provided context, and returns the resulting value.ValueExpression.getValueReference(ELContext context) Returns aValueReferencefor this expression instance.BeanELResolver.invoke(ELContext context, Object base, Object methodName, Class<?>[] paramTypes, Object[] params) If the base object is notnull, invoke the method, with the given parameters on this bean.CompositeELResolver.invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) Attempts to resolve and invoke the givenmethodon the givenbaseobject by querying all component resolvers.ELResolver.invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) Attempts to resolve and invoke the givenmethodon the givenbaseobject.Invoke the encapsulated Lambda expression.abstract ObjectIf a String literal is specified as the expression, returns the String literal coerced to the expected return type of the method signature.StaticFieldELResolver.invoke(ELContext context, Object base, Object methodName, Class<?>[] paramTypes, Object[] params) Invokes a public static method or the constructor for a class.(package private) static ObjectELUtil.invokeConstructor(ELContext context, Constructor<?> constructor, Object[] params) (package private) static ObjectELUtil.invokeMethod(ELContext context, Method method, Object base, Object[] params) booleanArrayELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is a Java language array, returns whether a call toArrayELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)will always fail.booleanBeanELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is notnull, returns whether a call toBeanELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)will always fail.booleanBeanNameELResolver.isReadOnly(ELContext context, Object base, Object property) If the base is null and the property is a name resolvable by the BeanNameResolver, attempts to determine if the bean is writable.booleanCompositeELResolver.isReadOnly(ELContext context, Object base, Object property) For a givenbaseandproperty, attempts to determine whether a call toCompositeELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)will always fail.abstract booleanELResolver.isReadOnly(ELContext context, Object base, Object property) For a givenbaseandproperty, attempts to determine whether a call toELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)will always fail.booleanListELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is a list, returns whether a call toListELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)will always fail.booleanMapELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is a map, returns whether a call toMapELResolver.setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)will always fail.booleanResourceBundleELResolver.isReadOnly(ELContext context, Object base, Object property) booleanStaticFieldELResolver.isReadOnly(ELContext context, Object base, Object property) Inquires whether the static field is writable.booleanTypeConverter.isReadOnly(ELContext context, Object base, Object property) abstract booleanValueExpression.isReadOnly(ELContext context) Evaluates the expression relative to the provided context, and returnstrueif a call toValueExpression.setValue(jakarta.el.ELContext, java.lang.Object)will always fail.voidEvaluationListener.propertyResolved(ELContext context, Object base, Object property) Receives notification when the (base, property) pair is resolvedELManager.setELContext(ELContext context) Set the ELContext used for parsing and evaluating Jakarta Expression Language expressions.voidLambdaExpression.setELContext(ELContext context) Set the ELContext to use in evaluating the LambdaExpression.voidIf the base object is a Java language array, attempts to set the value at the given index with the given value.voidIf the base object is notnull, attempts to set the value of the given property on this bean.voidIf the base is null and the property is a name that is resolvable by the BeanNameResolver, the bean in the BeanNameResolver is set to the given value.voidAttempts to set the value of the givenpropertyobject on the givenbaseobject.abstract voidAttempts to set the value of the givenpropertyobject on the givenbaseobject.voidIf the base object is a list, attempts to set the value at the given index with the given value.voidIf the base object is a map, attempts to set the value associated with the given key, as specified by thepropertyargument.voidIf the base object is a ResourceBundle, throw aPropertyNotWritableException.voidAttempts to write to a static field.voidabstract voidEvaluates the expression relative to the provided context, and sets the result to the provided value.Constructors in jakarta.el with parameters of type ELContextModifierConstructorDescription(package private)CompositeIterator(ELResolver[] resolvers, int size, ELContext context, Object base) ELContextEvent(ELContext source) Constructs an ELContextEvent object to indicate that anELContexthas been created.StandardELContext(ELContext context) Construct a StandardELContext from another ELContext.