Uses of Class
javax.el.ELContext
Packages that use ELContext
Package
Description
Provides the API for the Unified Expression Language shared by
the JSP 2.1 and JSF 1.2 technologies.
-
Uses of ELContext in javax.el
Modifier and TypeFieldDescription(package private) ELContextCompositeELResolver.CompositeIterator.contextModifier and TypeMethodDescriptionELContextEvent.getELContext()Returns theELContextthat was created.Modifier and TypeMethodDescriptionabstract 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<?> 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.static StringELUtil.getExceptionMessageString(ELContext context, String messageId) 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.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.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<?> 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(ELContext, Object, Object, 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(ELContext, Object, Object, 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.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(ELContext, 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.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.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 method, 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) Attemps 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) Attemps to resolve and invoke the givenmethodon the givenbaseobject.abstract ObjectIf a String literal is specified as the expression, returns the String literal coerced to the expected return type of the method signature.booleanArrayELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is a Java language array, returns whether a call toArrayELResolver.setValue(ELContext, Object, Object, Object)will always fail.booleanBeanELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is notnull, returns whether a call toBeanELResolver.setValue(ELContext, Object, Object, Object)will always fail.booleanCompositeELResolver.isReadOnly(ELContext context, Object base, Object property) For a givenbaseandproperty, attempts to determine whether a call toCompositeELResolver.setValue(ELContext, Object, Object, Object)will always fail.abstract booleanELResolver.isReadOnly(ELContext context, Object base, Object property) For a givenbaseandproperty, attempts to determine whether a call toELResolver.setValue(ELContext, Object, Object, 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(ELContext, Object, Object, 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(ELContext, Object, Object, Object)will always fail.booleanResourceBundleELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is not null and an instanceofResourceBundle, returntrue.abstract booleanValueExpression.isReadOnly(ELContext context) Evaluates the expression relative to the provided context, and returnstrueif a call toValueExpression.setValue(ELContext, Object)will always fail.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.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.abstract voidEvaluates the expression relative to the provided context, and sets the result to the provided value.ModifierConstructorDescription(package private)CompositeIterator(Iterator<ELResolver> iter, ELContext context, Object base) ELContextEvent(ELContext source) Constructs an ELContextEvent object to indicate that anELContexthas been created.