org.ldaptive.beans.reflect
Class ListReflectionTranscoder
java.lang.Object
org.ldaptive.beans.reflect.AbstractCollectionReflectionTranscoder
org.ldaptive.beans.reflect.ListReflectionTranscoder
- All Implemented Interfaces:
- ReflectionTranscoder
public class ListReflectionTranscoder
- extends AbstractCollectionReflectionTranscoder
Reflection transcoder for an object that implements List.
- 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. |
ListReflectionTranscoder
public ListReflectionTranscoder(Class<?> c,
SingleValueReflectionTranscoder<?> transcoder)
- Creates a new list reflection transcoder.
- Parameters:
c - class that is a listtranscoder - to operate on elements of the list
ListReflectionTranscoder
public ListReflectionTranscoder(Class<?> c,
ArrayReflectionTranscoder transcoder)
- Creates a new list reflection transcoder.
- Parameters:
c - class that is a listtranscoder - to operate on elements of the list
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-2016 Virginia Tech. All Rights Reserved.