|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.morph.context.contexts.BaseContext
net.sf.morph.context.contexts.BaseHierarchicalContext
net.sf.morph.context.contexts.ReflectorHierarchicalContext
net.sf.morph.context.contexts.MapContext
public class MapContext
A simple Context backed by a Map.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
MapContext()
Creates a new, empty context. |
|
MapContext(Context parentContext)
Creates a new context with the given context as parent. |
|
MapContext(Context parentContext,
java.util.Map map)
Creates a new context with the given parent context and initial values taken from the supplied Map. |
|
MapContext(java.util.Map map)
Creates a new context with the values taken from the supplied Map. |
|
| Method Summary |
|---|
| Methods inherited from class net.sf.morph.context.contexts.ReflectorHierarchicalContext |
|---|
checkConfiguration, getBeanReflector, getDelegate, getHierarchicalImpl, getPropertyNamesHierarchicalImpl, setBeanReflector, setDelegate, setHierarchicalImpl |
| Methods inherited from class net.sf.morph.context.contexts.BaseHierarchicalContext |
|---|
getImpl, getParentContext, getPropertyNamesImpl, setImpl, setParentContext |
| Methods inherited from class net.sf.morph.context.contexts.BaseContext |
|---|
clear, containsKey, containsValue, entrySet, get, get, get, get, get, getContextMapBridge, getConverter, getLanguage, getLog, getPropertyNames, isEmpty, keySet, put, putAll, remove, set, set, setContextMapBridge, setConverter, setLanguage, setLog, size, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.morph.context.HierarchicalContext |
|---|
get, getParentContext, getPropertyNames, set, setParentContext |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public MapContext()
public MapContext(Context parentContext)
parentContext - the parent contextpublic MapContext(java.util.Map map)
map - the map used to populate this context with initial values
public MapContext(Context parentContext,
java.util.Map map)
parentContext - the parent contextmap - the map used to populate this context with initial values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||