|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.context.MapAttributeStrategy
public class MapAttributeStrategy
Constructor Summary | |
---|---|
MapAttributeStrategy()
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name,
int scope)
Use the Map.get() |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns the inner map |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes(int scope)
Ignore scope and return the inner map |
java.util.Map<java.lang.String,java.lang.Object> |
getMap()
|
void |
removeAttribute(java.lang.String name,
int scope)
use the Map.remove() |
void |
setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
Use the Map.put() |
void |
setMap(java.util.Map<java.lang.String,java.lang.Object> map)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapAttributeStrategy()
Method Detail |
---|
public void setAttribute(java.lang.String name, java.lang.Object value, int scope)
setAttribute
in interface AttributeStrategy
public java.lang.Object getAttribute(java.lang.String name, int scope)
getAttribute
in interface AttributeStrategy
public void removeAttribute(java.lang.String name, int scope)
removeAttribute
in interface AttributeStrategy
public java.util.Map<java.lang.String,java.lang.Object> getAttributes(int scope)
getAttributes
in interface AttributeStrategy
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
public java.util.Map<java.lang.String,java.lang.Object> getMap()
public void setMap(java.util.Map<java.lang.String,java.lang.Object> map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |