|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReflectionTranscoder
Interface for reflection based transcoders.
| Method Summary | |
|---|---|
Object |
decodeBinaryValues(Collection<byte[]> values)
Decodes the supplied values into an object. |
Object |
decodeStringValues(Collection<String> values)
Decodes the supplied values into an object. |
Collection<byte[]> |
encodeBinaryValues(Object value)
Encodes the supplied value into one or more byte arrays for use in an attribute. |
Collection<String> |
encodeStringValues(Object value)
Encodes the supplied value into one or more strings for use in an attribute. |
Class<?> |
getType()
Returns the type produced by this transcoder. |
boolean |
supports(Class<?> type)
Returns whether this transcoder can convert object of the supplied type. |
| Method Detail |
|---|
Object decodeStringValues(Collection<String> values)
values - to decode
Object decodeBinaryValues(Collection<byte[]> values)
values - to decode
Collection<String> encodeStringValues(Object value)
value - containing data to encode as strings
Collection<byte[]> encodeBinaryValues(Object value)
value - containing data to encode as byte arrays
Class<?> getType()
boolean supports(Class<?> type)
type - of object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||