info.magnolia.context
Interface AttributeStrategy

All Known Implementing Classes:
MapAttributeStrategy, RequestAttributeStrategy

public interface AttributeStrategy

Contract for attribute storage and management.

Version:
$Id: $
Author:
had

Method Summary
 java.lang.Object getAttribute(java.lang.String name, int scope)
           
 java.util.Map<java.lang.String,java.lang.Object> getAttributes(int scope)
           
 void removeAttribute(java.lang.String name, int scope)
           
 void setAttribute(java.lang.String name, java.lang.Object value, int scope)
           
 

Method Detail

setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value,
                  int scope)

getAttribute

java.lang.Object getAttribute(java.lang.String name,
                              int scope)

getAttributes

java.util.Map<java.lang.String,java.lang.Object> getAttributes(int scope)

removeAttribute

void removeAttribute(java.lang.String name,
                     int scope)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.