| com.sun.rave.web.ui.component.util.event.OutputType
All known Subclasses: com.sun.rave.web.ui.component.util.event.RequestAttributeOutputType, com.sun.rave.web.ui.component.util.event.SessionAttributeOutputType,
OutputType | public interface OutputType (Code) | | This interface provides an abstraction for different locations for
storing output from a handler. Implementations may store values in
Session, request attributes, databases, etc.
author: Ken Paulsen (ken.paulsen@sun.com) |
getValue | public Object getValue(HandlerContext context, IODescriptor outDesc, String key)(Code) | | This method is responsible for retrieving the value of the Output
from the destination that was specified by handler. 'key' may be
null. In cases where it is not needed, it can be ignored. If it
is needed, the implementation may either provide a default or
throw an exception.
Parameters: context - The HandlerContext Parameters: outDesc - The IODescriptor for this Output value inwhich to obtain the value Parameters: key - The optional 'key' to use when retrieving thevalue from the OutputType The requested value. |
setValue | public void setValue(HandlerContext context, IODescriptor outDesc, String key, Object value)(Code) | | This method is responsible for setting the value of the Output
to the destination that was specified by handler. 'key' may be
null. In cases where it is not needed, it can be ignored. If it
is needed, the implementation may either provide a default or
throw an exception.
Parameters: context - The HandlerContext Parameters: outDesc - The IODescriptor for this Output value inwhich to obtain the value Parameters: key - The optional 'key' to use when setting thevalue from the OutputType Parameters: value - The value to set |
|
|