org.ldaptive.beans.reflect
Class SetReflectionTranscoder
java.lang.Object
org.ldaptive.beans.reflect.AbstractCollectionReflectionTranscoder
org.ldaptive.beans.reflect.SetReflectionTranscoder
- All Implemented Interfaces:
- ReflectionTranscoder
public class SetReflectionTranscoder
- extends AbstractCollectionReflectionTranscoder
Reflection transcoder for an object that implements Set.
- Version:
- $Revision: 2917 $ $Date: 2014-03-21 16:06:36 -0400 (Fri, 21 Mar 2014) $
- Author:
- Middleware Services
|
Method Summary |
protected
|
createCollection(Class<T> clazz)
Returns a collection implementation of the correct type for this
transcoder. |
SetReflectionTranscoder
public SetReflectionTranscoder(Class<?> c,
SingleValueReflectionTranscoder<?> transcoder)
- Creates a new set reflection transcoder.
- Parameters:
c - class that is a settranscoder - to operate on elements of the set
SetReflectionTranscoder
public SetReflectionTranscoder(Class<?> c,
ArrayReflectionTranscoder transcoder)
- Creates a new set reflection transcoder.
- Parameters:
c - class that is a settranscoder - to operate on elements of the set
createCollection
protected <T> Collection<T> createCollection(Class<T> clazz)
- Returns a collection implementation of the correct type for this
transcoder.
- Specified by:
createCollection in class AbstractCollectionReflectionTranscoder
- Type Parameters:
T - type of collection- Parameters:
clazz - type of collection
- Returns:
- collection implementation
Copyright © 2003-2014 Virginia Tech. All Rights Reserved.