|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueConverter
Defines a conversion from one data type to another.
Instances of this class should be thread-safe.
Method Summary | |
---|---|
Object |
convert(Object in)
Performs a conversion from the input type to the output type. |
ValueInfo |
getInputInfo()
Returns metadata describing the values on the input end of the conversion. |
ValueInfo |
getOutputInfo()
Returns metadata describing the values on the output end of the conversion. |
Object |
unconvert(Object out)
Performs a reverse conversion, from the output type to the input type. |
Method Detail |
---|
ValueInfo getInputInfo()
ValueInfo getOutputInfo()
Object convert(Object in)
in
- object of input type
Object unconvert(Object out)
out
- object of output type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |