|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.component.util.event.SessionAttributeOutputType
public class SessionAttributeOutputType
This class implements the OutputType interface to provide a way to get/set Output values from the Session attribute Map.
Constructor Summary | |
---|---|
SessionAttributeOutputType()
|
Method Summary | |
---|---|
java.lang.Object |
getValue(HandlerContext context,
IODescriptor outDesc,
java.lang.String key)
This method is responsible for retrieving the value of the Output from a Session attribute. |
void |
setValue(HandlerContext context,
IODescriptor outDesc,
java.lang.String key,
java.lang.Object value)
This method is responsible for setting the value of the Output to a Session attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionAttributeOutputType()
Method Detail |
---|
public java.lang.Object getValue(HandlerContext context, IODescriptor outDesc, java.lang.String key)
This method is responsible for retrieving the value of the Output from a Session attribute. 'key' may be null, if this occurs, a default name will be provided. That name will follow the following format:
[handler-id]:[key]
getValue
in interface OutputType
context
- The HandlerContextoutDesc
- The IODescriptor for this Output value in
which to obtain the valuekey
- The optional 'key' to use when retrieving the
value from the Session attribute Map.
public void setValue(HandlerContext context, IODescriptor outDesc, java.lang.String key, java.lang.Object value)
This method is responsible for setting the value of the Output to a Session attribute. 'key' may be null, in this case, a default name will be provided. That name will follow the following format:
[handler-id]:[key]
setValue
in interface OutputType
context
- The HandlerContextoutDesc
- The IODescriptor for this Output value in
which to obtain the valuekey
- The optional 'key' to use when setting the
value into the Session attribute Mapvalue
- The value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |