public interface Context
| 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.
|
Object getAttribute(String name)
name - The name of the attribute.void setAttribute(String name, Object value)
name - The name of the attribute.value - The value of the attribute.void removeAttribute(String name)
name - The name of the attribute.void reset()
boolean hasAttribute(String name)
name - The name of the attribute.Copyright © 2015. All Rights Reserved.