| java.lang.Object org.araneaframework.core.BaseEnvironment org.araneaframework.core.StandardEnvironment
StandardEnvironment | public StandardEnvironment(Environment env, Map entries)(Code) | | Constructs an object with the env parent Environment and with the entries data.
Parameters: env - the parent environment Parameters: entries - a map of the entries in the Environment |
StandardEnvironment | public StandardEnvironment(Environment env, Object key, Object value)(Code) | | Constructs an object with the env parent Environment and entries data containing <key, value>.
Parameters: env - the parent environment Parameters: key - a key of the value in the map of the Environment entries. Parameters: value - a value corresponding to given key in the map of the Environment entries. |
getEntry | public Object getEntry(Object key)(Code) | | Returns the corresponding value of this Envrionment's entries. If none is
found from the entries then the entry is returned from the parent environment.
If a value to the key does not exist, AraneaNoSuchEnvironmentEntryException is thrown.
Parameters: key - the key of the entry the Object under the key provided throws: AraneaNoSuchEnvironmentEntryException - |
getEntryMap | public Map getEntryMap()(Code) | | Returns the map with the entries in this Environment. An entry is a key value pair.
a map with the entries. |
|
|