Module jakarta.el
Package jakarta.el

Class MapELResolver

java.lang.Object
jakarta.el.ELResolver
jakarta.el.MapELResolver

public class MapELResolver extends ELResolver
Defines property resolution behavior on instances of Map.

This resolver handles base objects of type java.util.Map. It accepts any object as a property and uses that object as a key in the map. The resulting value is the value in the map that is associated with that key.

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: