com.agapple.mapping.process.convertor
类 CollectionAndCollectionConvertor.CollectionToArray
java.lang.Object
com.agapple.mapping.process.convertor.AbastactConvertor
com.agapple.mapping.process.convertor.CollectionAndCollectionConvertor.BaseCollectionConvertor
com.agapple.mapping.process.convertor.CollectionAndCollectionConvertor.CollectionToArray
- 所有已实现的接口:
- CollectionConvertor, Convertor
- 包容类:
- CollectionAndCollectionConvertor
public static class CollectionAndCollectionConvertor.CollectionToArray
- extends CollectionAndCollectionConvertor.BaseCollectionConvertor
Collection -> array 转化
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionAndCollectionConvertor.CollectionToArray
public CollectionAndCollectionConvertor.CollectionToArray()
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.