|
Weaver 3.1.0a1-D1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oldlight.weaver.interpreter.WeaverLocalContextImpl
Stores local-scoped attributes.
Field Summary | |
private HashMap |
attributes
|
Constructor Summary | |
WeaverLocalContextImpl()
|
Method Summary | |
Object |
getAttribute(String name)
Get a locally scoped attribute. |
Map |
getAttributeMap()
Get a attribute name to value map. |
void |
removeAttribute(String name)
Remove a locally scoped attribute. |
void |
setAttribute(String name,
Object value)
Set a locally scoped attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private HashMap attributes
Constructor Detail |
public WeaverLocalContextImpl()
Method Detail |
public void setAttribute(String name, Object value)
setAttribute
in interface WeaverLocalContext
name
- Name of the attribute to set.value
- Value to set the attribute to.public Object getAttribute(String name)
getAttribute
in interface WeaverLocalContext
name
- Name of the attribute to retrieve.
public void removeAttribute(String name)
removeAttribute
in interface WeaverLocalContext
name
- Name of the attribute to remove.public Map getAttributeMap()
|
Copyright ©Paul Harvey | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |