com.agapple.mapping.process.convertor
类 CollectionAndCollectionConvertor.ArrayToArray

java.lang.Object
  继承者 com.agapple.mapping.process.convertor.AbastactConvertor
      继承者 com.agapple.mapping.process.convertor.CollectionAndCollectionConvertor.BaseCollectionConvertor
          继承者 com.agapple.mapping.process.convertor.CollectionAndCollectionConvertor.ArrayToArray
所有已实现的接口:
CollectionConvertor, Convertor
包容类:
CollectionAndCollectionConvertor

public static class CollectionAndCollectionConvertor.ArrayToArray
extends CollectionAndCollectionConvertor.BaseCollectionConvertor

array -> array 转化


构造方法摘要
CollectionAndCollectionConvertor.ArrayToArray()
           
 
方法摘要
 Object convertCollection(BeanMappingField context, Object src, Class destClass, Class... componentClasses)
          支持多级collection映射,需指定多级的componentClass
protected  Class getComponentClass(Object src, Class destClass)
           
 
从类 com.agapple.mapping.process.convertor.CollectionAndCollectionConvertor.BaseCollectionConvertor 继承的方法
arrayGet, arraySet, convert, convertCollection, createCollection, createMap, doMapping, initMapping
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CollectionAndCollectionConvertor.ArrayToArray

public CollectionAndCollectionConvertor.ArrayToArray()
方法详细信息

convertCollection

public Object convertCollection(BeanMappingField context,
                                Object src,
                                Class destClass,
                                Class... componentClasses)
从接口 CollectionConvertor 复制的描述
支持多级collection映射,需指定多级的componentClass

指定者:
接口 CollectionConvertor 中的 convertCollection
覆盖:
AbastactConvertor 中的 convertCollection

getComponentClass

protected Class getComponentClass(Object src,
                                  Class destClass)
指定者:
CollectionAndCollectionConvertor.BaseCollectionConvertor 中的 getComponentClass


Copyright © 2012. All Rights Reserved.