public class SetReflectionTranscoder extends AbstractCollectionReflectionTranscoder
Set
.Constructor and Description |
---|
SetReflectionTranscoder(Class<?> c,
ArrayReflectionTranscoder transcoder)
Creates a new set reflection transcoder.
|
SetReflectionTranscoder(Class<?> c,
SingleValueReflectionTranscoder<?> transcoder)
Creates a new set 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 SetReflectionTranscoder(Class<?> c, SingleValueReflectionTranscoder<?> transcoder)
c
- class that is a settranscoder
- to operate on elements of the setpublic SetReflectionTranscoder(Class<?> c, ArrayReflectionTranscoder transcoder)
c
- class that is a settranscoder
- to operate on elements of the setprotected <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.