public class ListReflectionTranscoder extends AbstractCollectionReflectionTranscoder
List
.Constructor and Description |
---|
ListReflectionTranscoder(Class<?> c,
ArrayReflectionTranscoder transcoder)
Creates a new list reflection transcoder.
|
ListReflectionTranscoder(Class<?> c,
SingleValueReflectionTranscoder<?> transcoder)
Creates a new list reflection transcoder.
|
Modifier and Type | Method and Description |
---|---|
protected <T> Collection<T> |
createCollection(Class<T> clazz)
Returns a collection implementation of the correct type for this transcoder.
|
decodeBinaryValues, decodeStringValues, encodeBinaryValues, encodeStringValues, getType, supports, toString
public ListReflectionTranscoder(Class<?> c, SingleValueReflectionTranscoder<?> transcoder)
c
- class that is a listtranscoder
- to operate on elements of the listpublic ListReflectionTranscoder(Class<?> c, ArrayReflectionTranscoder transcoder)
c
- class that is a listtranscoder
- to operate on elements of the listprotected <T> Collection<T> createCollection(Class<T> clazz)
AbstractCollectionReflectionTranscoder
createCollection
in class AbstractCollectionReflectionTranscoder
T
- type of collectionclazz
- type of collectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.