Module jakarta.el
Package jakarta.el

Class ArrayELResolver

java.lang.Object
jakarta.el.ELResolver
jakarta.el.ArrayELResolver

public class ArrayELResolver extends ELResolver
Defines property resolution behavior on arrays.

This resolver handles base objects that are Java language arrays. It accepts the case sensitive string "length" or any other object as a property and coerces that object into an integer index into the array. The resulting value is the value in the array 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: