Package org.thymeleaf.spring5.expression
Class SPELContextMapWrapper
- Object
-
- org.thymeleaf.spring5.expression.SPELContextMapWrapper
-
- All Implemented Interfaces:
Map
public final class SPELContextMapWrapper extends Object implements Map
Wrapper on
IContext
objects that makes them look likejava.util.Map
objects in order to be used at the root of SpEL expressions without the need to use custom property accessors in most scenarios.- Since:
- 3.0.3
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry>
entrySet()
Object
get(Object key)
boolean
isEmpty()
Set
keySet()
Object
put(Object key, Object value)
void
putAll(Map m)
Object
remove(Object key)
int
size()
Collection
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap
-
values
public Collection values()
-
-