public class DefaultPropertyExpansionContext extends StringToObjectMap implements PropertyExpansionContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| DefaultPropertyExpansionContext(ModelItem modelItem) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | expand(String content) | 
| Object | get(Object key) | 
| ModelItem | getModelItem() | 
| StringToObjectMap | getProperties() | 
| Object | getProperty(String name) | 
| String[] | getPropertyNames() | 
| boolean | hasProperty(String name) | 
| Object | removeProperty(String name) | 
| void | setProperties(PropertyExpansionContext context) | 
| void | setProperty(String name,
           Object value) | 
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic DefaultPropertyExpansionContext(ModelItem modelItem)
public String expand(String content)
expand in interface PropertyExpansionContextpublic ModelItem getModelItem()
getModelItem in interface PropertyExpansionContextpublic Object getProperty(String name)
getProperty in interface PropertyExpansionContextpublic String[] getPropertyNames()
getPropertyNames in interface PropertyExpansionContextpublic boolean hasProperty(String name)
hasProperty in interface PropertyExpansionContextpublic Object removeProperty(String name)
removeProperty in interface PropertyExpansionContextpublic void setProperty(String name, Object value)
setProperty in interface PropertyExpansionContextpublic void setProperties(PropertyExpansionContext context)
public StringToObjectMap getProperties()
getProperties in interface PropertyExpansionContextCopyright © 2019. All Rights Reserved.