Uses of Class
jakarta.el.ELContext
Packages that use ELContext
Package
Description
Provides the API for Jakarta Expression Language 6.0
Classes and interfaces related to the core tag library component of the Jakarta Standard Tag Library.
-
Uses of ELContext in com.sun.faces.config
Methods in com.sun.faces.config that return ELContextMethods in com.sun.faces.config with parameters of type ELContext -
Uses of ELContext in com.sun.faces.config.initfacescontext
Subclasses of ELContext in com.sun.faces.config.initfacescontext -
Uses of ELContext in com.sun.faces.context
Methods in com.sun.faces.context that return ELContext -
Uses of ELContext in com.sun.faces.context.flash
Methods in com.sun.faces.context.flash with parameters of type ELContextModifier and TypeMethodDescriptionClass<?> FlashELResolver.getCommonPropertyType(ELContext context, Object base) Ifbaseis non-nulland is the literal string "flash", returnObject.class.Class<?> Return the validClassfor a future set operation, which will always benullbecause sets happen via theMapELResolveroperating on theELFlashinstance as aMap.Hook into the EL resolution process to introduce theflashimplicit object.booleanFlashELResolver.isReadOnly(ELContext elContext, Object base, Object property) Returnstruebecause write operations take place via theMapELResolveron the actualELFlashinstance.voidThis method will throwPropertyNotWritableExceptionif called with anullbaseand apropertyvalue equal to the literal string "flash". -
Uses of ELContext in com.sun.faces.el
Subclasses of ELContext in com.sun.faces.elMethods in com.sun.faces.el with parameters of type ELContextModifier and TypeMethodDescription<T> TEmptyStringToNullELResolver.convertToType(ELContext context, Object value, Class<T> targetType) static ObjectELUtils.evaluateValueExpression(ValueExpression expression, ELContext elContext) Class<?> CompositeComponentAttributesELResolver.getCommonPropertyType(ELContext context, Object base) attrsis considered aStringproperty.Class<?> DemuxCompositeELResolver.getCommonPropertyType(ELContext context, Object base) Class<?> EmptyStringToNullELResolver.getCommonPropertyType(ELContext context, Object base) Class<?> FacesResourceBundleELResolver.getCommonPropertyType(ELContext context, Object base) Class<?> ResourceELResolver.getCommonPropertyType(ELContext context, Object base) Class<?> ScopedAttributeELResolver.getCommonPropertyType(ELContext context, Object base) Class<?> Class<?> Readonly, so returnnull.Class<?> Class<?> Class<?> Class<?> Class<?> Ifbaseis a composite component andpropertyisattrs, return a newExpressionEvalMapwhich wraps the composite component's attributes map.If base and property are notnulland base is an instance ofResourceHandler, perform the following: Ifpropertydoesn't contain:treatpropertyas the resource name and passpropertytoResourceHandler.createResource(String)Ifpropertycontains a single:treat the content before the:as the library name, and the content after the:to be the resource name and pass both toResourceHandler.createResource(String, String)Ifpropertycontains more than one:then throw aELExceptionIf one of the above steps resulted in the creation of aResourceinstance, callELContext.setPropertyResolved(true)and return the result ofResource.getRequestPath()booleanChainTypeCompositeELResolver.isReadOnly(ELContext context, Object base, Object property) booleanCompositeComponentAttributesELResolver.isReadOnly(ELContext context, Object base, Object property) Readonly, so returntruebooleanDemuxCompositeELResolver.isReadOnly(ELContext context, Object base, Object property) booleanEmptyStringToNullELResolver.isReadOnly(ELContext context, Object base, Object property) booleanFacesResourceBundleELResolver.isReadOnly(ELContext context, Object base, Object property) booleanResourceELResolver.isReadOnly(ELContext context, Object base, Object property) booleanScopedAttributeELResolver.isReadOnly(ELContext context, Object base, Object property) voidvoidCompositeComponentAttributesELResolver.setValue(ELContext context, Object base, Object property, Object value) This is a no-op.voidvoidvoidvoidThis is basically a no-op.void -
Uses of ELContext in com.sun.faces.facelets
Subclasses of ELContext in com.sun.faces.facelets -
Uses of ELContext in com.sun.faces.facelets.compiler
Methods in com.sun.faces.facelets.compiler with parameters of type ELContextModifier and TypeMethodDescriptioncom.sun.faces.facelets.compiler.InstructionXMLInstruction.apply(ExpressionFactory factory, ELContext ctx) -
Uses of ELContext in com.sun.faces.facelets.el
Methods in com.sun.faces.facelets.el with parameters of type ELContextModifier and TypeMethodDescriptionELText.apply(ExpressionFactory factory, ELContext ctx) Return an instance ofthisthat is applicable given the ELContext and ExpressionFactory state.ContextualCompositeMethodExpression.getMethodInfo(ELContext elContext) TagMethodExpression.getMethodInfo(ELContext context) Class<?> Class<?> ContextualCompositeValueExpression.getValueReference(ELContext elContext) TagValueExpression.getValueReference(ELContext context) booleanContextualCompositeValueExpression.isReadOnly(ELContext elContext) booleanTagValueExpression.isReadOnly(ELContext context) static ELTextELText.parse(ExpressionFactory fact, ELContext ctx, String in) static ELTextELText.parse(ExpressionFactory fact, ELContext ctx, String in, String alias) Factory method for creating a validated ELText instance.voidvoidEvaluates the ELText to a StringvoidAllow this instance to write to the passed Writer, given the ELContext statevoidELText.writeText(ResponseWriter out, ELContext ctx) -
Uses of ELContext in com.sun.faces.facelets.tag.jstl.core
Methods in com.sun.faces.facelets.tag.jstl.core with parameters of type ELContextModifier and TypeMethodDescriptionbooleanIndexedValueExpression.isReadOnly(ELContext context) booleanIteratedValueExpression.isReadOnly(ELContext context) booleanIterationStatusExpression.isReadOnly(ELContext context) booleanMappedValueExpression.isReadOnly(ELContext context) voidvoidvoidvoid -
Uses of ELContext in jakarta.el
Subclasses of ELContext in jakarta.elModifier and TypeClassDescriptionclassA standard ELContext suitable for use in a stand alone environment.Methods 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<T> TCompositeELResolver.convertToType(ELContext context, Object obj, Class<T> targetType) Converts an object to a specific type.<T> TELResolver.convertToType(ELContext context, Object obj, Class<T> targetType) Converts an object to a specific type.<T> TOptionalELResolver.convertToType(ELContext context, Object obj, Class<T> type) Converts an object to a specific type.abstract <T> TTypeConverter.convertToType(ELContext context, Object obj, Class<T> 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.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<?> OptionalELResolver.getCommonPropertyType(ELContext context, Object base) Returns the most general type that this resolver accepts for thepropertyargument, given abaseobject.Class<?> RecordELResolver.getCommonPropertyType(ELContext context, Object base) If the base object is an instance ofRecord, returns the most general type 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) abstract MethodInfoMethodExpression.getMethodInfo(ELContext context) Evaluates the expression relative to the provided context, and returns information about the actual referenced method.MethodExpression.getMethodReference(ELContext context) Obtain theMethodReferencefor the method to which this method expression resolves.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<?> 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<?> 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 length of the array or 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.Attempts to resolve the givenpropertyobject on the givenbaseobject.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 <T> TEvaluates 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.OptionalELResolver.invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) Attempts to resolve and invoke the givenmethodon the givenbaseobject.StaticFieldELResolver.invoke(ELContext context, Object base, Object methodName, Class<?>[] paramTypes, Object[] params) Invokes a public static method or the constructor for a class.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.booleanOptionalELResolver.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.booleanRecordELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object is an instance ofRecord, always returnstrue.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 and the property is not the case sensitive stringlength, 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.voidAttempts to set the value of the givenpropertyobject on the givenbaseobject.voidvoidIf 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 ELContextModifierConstructorDescriptionELContextEvent(ELContext source) Constructs an ELContextEvent object to indicate that anELContexthas been created.StandardELContext(ELContext context) Construct a StandardELContext from another ELContext. -
Uses of ELContext in jakarta.faces.context
Methods in jakarta.faces.context that return ELContextModifier and TypeMethodDescriptionFacesContext.getELContext()Return theELContextinstance for thisFacesContextinstance.FacesContextWrapper.getELContext()The default behavior of this method is to callFacesContext.getELContext()on the wrappedFacesContextobject. -
Uses of ELContext in jakarta.faces.view.facelets
Subclasses of ELContext in jakarta.faces.view.faceletsModifier and TypeClassDescriptionclassContext representative of a single request from a Facelet. -
Uses of ELContext in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that return ELContextModifier and TypeMethodDescriptionabstract ELContextJspContext.getELContext()Returns theELContextassociated with thisJspContext. -
Uses of ELContext in jakarta.servlet.jsp.el
Methods in jakarta.servlet.jsp.el with parameters of type ELContextModifier and TypeMethodDescriptionImplicitObjectELResolver.getCommonPropertyType(ELContext context, Object base) If the base object isnull, returnsString.class.ImportELResolver.getCommonPropertyType(ELContext context, Object base) Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getCommonPropertyType(ELContext, Object).NotFoundELResolver.getCommonPropertyType(ELContext context, Object base) Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getCommonPropertyType(ELContext, Object).ScopedAttributeELResolver.getCommonPropertyType(ELContext context, Object base) If the base object isnull, returnsString.class.Class<?> If the base object isnull, and the property matches the name of a JSP implicit object, returnsnullto indicate that no types are ever accepted tosetValue().Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getType(ELContext, Object, Object).Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getType(ELContext, Object, Object).If the base object isnull, returnsObject.classto indicate that any type is valid to set for a scoped attribute.If the base object isnull, and the property matches the name of a JSP implicit object, returns the implicit object.If the base object isnull, searches the Class and static imports for an import with the given name and returns it if an import exists with the given name.Always returnsnullsince in normal usageScopedAttributeELResolverwill handle calls toELResolver.getValue(ELContext, Object, Object).If the base object isnull, searches the page, request, session and application scopes for an attribute with the given name and returns it if an attribute exists with the current name.booleanImplicitObjectELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object isnull, and the property matches the name of a JSP implicit object, returnstrueto indicate that implicit objects cannot be overwritten.booleanImportELResolver.isReadOnly(ELContext context, Object base, Object property) Always returnsfalsesince in normal usageScopedAttributeELResolverwill handle calls toELResolver.isReadOnly(ELContext, Object, Object).booleanNotFoundELResolver.isReadOnly(ELContext context, Object base, Object property) Always returnsfalsesince in normal usageScopedAttributeELResolverwill handle calls toELResolver.isReadOnly(ELContext, Object, Object).booleanScopedAttributeELResolver.isReadOnly(ELContext context, Object base, Object property) If the base object isnull, returnsfalseto indicate that scoped attributes are never read-only.voidIf the base object isnull, and the property matches the name of a JSP implicit object, throwsPropertyNotWritableExceptionto indicate that implicit objects cannot be overwritten.voidAlways a NO-OP since in normal usageScopedAttributeELResolverwill handle calls toELResolver.setValue(ELContext, Object, Object, Object).voidAlways a NO-OP since in normal usageScopedAttributeELResolverwill handle calls toELResolver.setValue(ELContext, Object, Object, Object).voidIf the base object isnull, sets an existing scoped attribute to the new value, or creates a new scoped attribute if one does not exist by this name. -
Uses of ELContext in jakarta.servlet.jsp.jstl.core
Methods in jakarta.servlet.jsp.jstl.core with parameters of type ELContextModifier and TypeMethodDescriptionEvaluates the stored ValueExpression and return the indexed item.booleanIndexedValueExpression.isReadOnly(ELContext context) booleanIteratedValueExpression.isReadOnly(ELContext context) voidvoid