Interface Context
-
- All Known Implementing Classes:
DefaultContext,NetworkChartContext
public interface ContextThis interface represents an abstract context
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_CODE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAttribute(java.lang.String name, java.lang.Object value)Add attribute identified bynamewithvalue.voidclearAttributes()Clear all attributes in prepared context;java.lang.ObjectgetAttribute(java.lang.String name)Get value of attribute named bynamejava.util.Set<java.lang.String>getAttributeNames()Get list of set attribute names.java.lang.ObjectremoveAttribute(java.lang.String name)Remove attribute named byname
-
-
-
Field Detail
-
TYPE_CODE
static final java.lang.String TYPE_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttribute
java.lang.Object getAttribute(java.lang.String name)
Get value of attribute named byname- Parameters:
name-- Returns:
-
addAttribute
void addAttribute(java.lang.String name, java.lang.Object value)Add attribute identified bynamewithvalue.- Parameters:
name- - attribute namevalue- - attribute value
-
getAttributeNames
java.util.Set<java.lang.String> getAttributeNames()
Get list of set attribute names.- Returns:
- list of set attributes
-
removeAttribute
java.lang.Object removeAttribute(java.lang.String name)
Remove attribute named byname- Parameters:
name- - attribute name
-
clearAttributes
void clearAttributes()
Clear all attributes in prepared context;
-
-