| Constructor and Description |
|---|
MapContext() |
MapContext(Map<String,Object> values) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Gets an attribute value associated with the given name.
|
boolean |
hasAttribute(String name)
Returns true is an attribute exists with this name.
|
Iterator<String> |
keys()
Return an iterator with all the attribute names in this context.
|
void |
removeAttribute(String name)
Removes an attribute associated with the given name.
|
void |
reset()
Resets this context.
|
void |
setAttribute(String name,
Object value)
Sets an attribute value associated with the given name.
|
public Object getAttribute(String name)
ContextgetAttribute in interface Contextname - The name of the attribute.public void setAttribute(String name, Object value)
ContextsetAttribute in interface Contextname - The name of the attribute.value - The value of the attribute.public void removeAttribute(String name)
ContextremoveAttribute in interface Contextname - The name of the attribute.public Iterator<String> keys()
Contextpublic void reset()
Contextpublic boolean hasAttribute(String name)
ContexthasAttribute in interface Contextname - The name of the attribute.Copyright © 2015. All Rights Reserved.