|
||||||||||
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.RequestAttributeOutputType
public class RequestAttributeOutputType
This class implements the OutputType interface to provide a way to get/set Output values from a ServletRequest attribute Map.
Constructor Summary | |
---|---|
RequestAttributeOutputType()
|
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 Request 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 ServletRequest attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestAttributeOutputType()
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 Request 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 ServletRequest 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 ServletRequest 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 ServletRequest attribute Mapvalue
- The value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |