public interface Context
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object key) |
java.lang.Object |
get(java.lang.Object key) |
void |
hide(java.lang.Object key)
Hides the item in the containerContext.
|
void |
makeReadOnly()
Make the containerContext read-only.
|
void |
put(java.lang.Object key,
java.lang.Object value)
Adds the item to the containerContext.
|
java.lang.Object get(java.lang.Object key)
throws ContextException
ContextExceptionboolean contains(java.lang.Object key)
void put(java.lang.Object key,
java.lang.Object value)
throws java.lang.IllegalStateException
key - the key of the itemvalue - the itemjava.lang.IllegalStateException - if containerContext is read onlyvoid hide(java.lang.Object key) throws java.lang.IllegalStateException
key - the items keyjava.lang.IllegalStateException - if containerContext is read onlyvoid makeReadOnly()