public interface Context
This interface represents an abstract context
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String name,
Object value)
Add attribute identified by
name with value. |
void |
clearAttributes()
Clear all attributes in prepared context;
|
Object |
getAttribute(String name)
Get value of attribute named by
name |
Set<String> |
getAttributeNames()
Get list of set attribute names.
|
Object |
removeAttribute(String name)
Remove attribute named by
name |
static final String TYPE_CODE
Object getAttribute(String name)
namename - void addAttribute(String name, Object value)
name with value.name - - attribute namevalue - - attribute valueSet<String> getAttributeNames()
Object removeAttribute(String name)
namename - - attribute namevoid clearAttributes()
Copyright © 2018. All rights reserved.