| com.sun.xml.ws.client.sei.ValueGetter
ValueGetter | enum ValueGetter (Code) | | Gets a value from an object that represents a parameter passed
as a method argument.
This abstraction hides the handling of
Holder .
ValueGetter is a stateless behavior encapsulation.
author: Kohsuke Kawaguchi |
Method Summary | |
abstract Object | get(Object parameter) Gets the value to be sent, from a parameter given as a method argument. |
HOLDER | Enum Constant HOLDER(Code) | | Creates
ValueGetter that works for
Holder ,
which is
Mode.INOUT or
Mode.OUT .
In those
Mode s, the parameter is a
Holder ,
so the value to be sent is obtained by getting the value of the holder.
|
PLAIN | Enum Constant PLAIN(Code) | | ValueGetter that works for
Mode.IN parameter.
Since it's the IN mode, the parameter is not a
Holder ,
therefore the parameter itself is a value.
|
get | abstract Object get(Object parameter)(Code) | | Gets the value to be sent, from a parameter given as a method argument.
Parameters: parameter - that is passed by proxy if it holder then its value, otherise parameter itself |
|
|