public final class DefaultContext extends java.lang.Object implements Context
| Constructor and Description |
|---|
DefaultContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String key,
java.lang.Object value)
Adds a context entry.
|
java.lang.Object |
get(java.lang.String key)
Searches for the value with the specified attribute key in this context.
|
java.util.Collection<java.lang.String> |
getAttributeNames()
Returns the names of all attributes of this context.
|
public DefaultContext()
public java.lang.Object get(java.lang.String key)
Contextpublic java.util.Collection<java.lang.String> getAttributeNames()
ContextgetAttributeNames in interface Contextpublic void add(java.lang.String key, java.lang.Object value)
key - the context keyvalue - the value for keyCopyright © 2001-2020. All Rights Reserved.