| 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NimletOutput
The NimletOutput is a data container of name/value pairs that represent the output of the request handling method of the Nimlet.
| Method Summary | |
|---|---|
 void | 
addValueForKey(java.lang.String key,
               java.lang.Object value)
This method add the given object to the given key.  | 
 java.util.Vector | 
getAllValuesForKey(java.lang.String key)
This method returns all the objects that are associated to the given key.  | 
 java.lang.String[] | 
getKeys()
This method return all the keys stored in this NimletOutput.  | 
 java.lang.String | 
getSkinName()
This method returns the skin name to be dispatched by the NimletContainer.  | 
 java.lang.Object | 
getValueForKey(java.lang.String key)
This method returns the first object associated with the given key.  | 
 void | 
removeAllValuesForKey(java.lang.String key)
This method removes all the objects that are associated with the given key.  | 
 void | 
removeValueForKey(java.lang.String key,
                  java.lang.Object value)
This method removes the given object from the given key.  | 
 void | 
replaceValueForKey(java.lang.String key,
                   java.lang.Object value)
This method replaces all existing values associated to the given key with the given object.  | 
 void | 
setSkinName(java.lang.String skinName)
This method sets the skin name to be dispatched by the NimletContainer  | 
| Method Detail | 
|---|
java.lang.Object getValueForKey(java.lang.String key)
key - The key of the requested object.  This parameter cannot be
    null.
java.util.Vector getAllValuesForKey(java.lang.String key)
key - The key of the requested object. This parameter cannot be
    null.
java.lang.String[] getKeys()
void addValueForKey(java.lang.String key,
                    java.lang.Object value)
key - The key used to store the given object.  This
    parameter cannot be null.value - The object to be associated with the given key.  This
    parameter cannot be null.
void replaceValueForKey(java.lang.String key,
                        java.lang.Object value)
key - The key used to store the given object.  This
    parameter cannot be null.value - The object to be associated with the given key.  This
    parameter cannot be null.
void removeValueForKey(java.lang.String key,
                       java.lang.Object value)
key - The key under which the given object is stored.  This
    parameter cannot be null.value - The object to be removed from the input map.  If this
    parameter is null, this method removes all the objects that
    are associated with the given key.void removeAllValuesForKey(java.lang.String key)
key - The key of all the objects to be removed from this
    NimletOutput.  This parameter cannot be null.java.lang.String getSkinName()
void setSkinName(java.lang.String skinName)
skinName - The skin name to be dispatched by the NimletContainer.
  | 
Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.