public class ListReflectionTranscoder extends AbstractCollectionReflectionTranscoder
List.| Constructor and Description |
|---|
ListReflectionTranscoder(java.lang.Class<?> c,
ArrayReflectionTranscoder transcoder)
Creates a new list reflection transcoder.
|
ListReflectionTranscoder(java.lang.Class<?> c,
SingleValueReflectionTranscoder<?> transcoder)
Creates a new list reflection transcoder.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> java.util.Collection<T> |
createCollection(java.lang.Class<T> clazz)
Returns a collection implementation of the correct type for this transcoder.
|
decodeBinaryValues, decodeStringValues, encodeBinaryValues, encodeStringValues, getType, supports, toStringpublic ListReflectionTranscoder(java.lang.Class<?> c,
SingleValueReflectionTranscoder<?> transcoder)
c - class that is a listtranscoder - to operate on elements of the listpublic ListReflectionTranscoder(java.lang.Class<?> c,
ArrayReflectionTranscoder transcoder)
c - class that is a listtranscoder - to operate on elements of the listprotected <T> java.util.Collection<T> createCollection(java.lang.Class<T> clazz)
AbstractCollectionReflectionTranscodercreateCollection in class AbstractCollectionReflectionTranscoderT - type of collectionclazz - type of collection