Module jakarta.el
Package jakarta.el

Class ListELResolver

java.lang.Object
jakarta.el.ELResolver
jakarta.el.ListELResolver

public class ListELResolver extends ELResolver
Defines property resolution behavior on instances of List.

This resolver handles base objects of type java.util.List. It accepts any object as a property and coerces that object into an integer index into the list. The resulting value is the value in the list at that index.

This resolver can be constructed in read-only mode, which means that isReadOnly will always return true and setValue(jakarta.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always throw PropertyNotWritableException.

ELResolvers are combined together using CompositeELResolvers, to define rich semantics for evaluating an expression. See the javadocs for ELResolver for details.

Since:
Jakarta Server Pages 2.1
See Also: