Package org.thymeleaf.spring5.expression
Class SPELContextMapWrapper
Object
org.thymeleaf.spring5.expression.SPELContextMapWrapper
- All Implemented Interfaces:
Map
Wrapper on IContext
objects that makes them look like java.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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keySet()
void
int
size()
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 Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-