info.magnolia.context
Class MapAttributeStrategy
java.lang.Object
info.magnolia.context.MapAttributeStrategy
- All Implemented Interfaces:
- AttributeStrategy
public class MapAttributeStrategy
- extends Object
- implements AttributeStrategy
Hashtable
based implementation of the AttributeStrategy
.
- Version:
- $Id: $
- Author:
- had
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapAttributeStrategy
public MapAttributeStrategy()
setAttribute
public void setAttribute(String name,
Object value,
int scope)
- Specified by:
setAttribute
in interface AttributeStrategy
getAttribute
public Object getAttribute(String name,
int scope)
- Specified by:
getAttribute
in interface AttributeStrategy
removeAttribute
public void removeAttribute(String name,
int scope)
- Specified by:
removeAttribute
in interface AttributeStrategy
getAttributes
public Map<String,Object> getAttributes(int scope)
- Ignore scope and return the inner map.
- Specified by:
getAttributes
in interface AttributeStrategy
getAttributes
public Map<String,Object> getAttributes()
- Returns the inner map.
getMap
public Map<String,Object> getMap()
setMap
public void setMap(Map<String,Object> map)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.