Package org.thymeleaf.spring4.expression
Class SPELContextMapWrapper
- Object
-
- org.thymeleaf.spring4.expression.SPELContextMapWrapper
-
- All Implemented Interfaces:
Map
public final class SPELContextMapWrapper extends Object implements Map
Wrapper on
IContextobjects that makes them look likejava.util.Mapobjects 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.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry>entrySet()Objectget(Object key)booleanisEmpty()SetkeySet()Objectput(Object key, Object value)voidputAll(Map m)Objectremove(Object key)intsize()Collectionvalues()
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap
-
values
public Collection values()
-
-