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 TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-