com.agapple.mapping.process.convetor
类 CollectionAndCollectionConvertor.BaseCollectionConvertor
java.lang.Object
com.agapple.mapping.process.convetor.AbastactConvertor
com.agapple.mapping.process.convetor.CollectionAndCollectionConvertor.BaseCollectionConvertor
- 所有已实现的接口:
- Convertor
- 直接已知子类:
- CollectionAndCollectionConvertor.ArrayToArray, CollectionAndCollectionConvertor.ArrayToCollection, CollectionAndCollectionConvertor.CollectionToArray, CollectionAndCollectionConvertor.CollectionToCollection
- 包容类:
- CollectionAndCollectionConvertor
public abstract static class CollectionAndCollectionConvertor.BaseCollectionConvertor
- extends AbastactConvertor
|
方法摘要 |
protected Object |
arrayGet(Object src,
Class compoentType,
int i)
|
protected void |
arraySet(Object src,
Class compoentType,
int i,
Object value)
|
Object |
convert(Object src,
Class destClass)
|
protected Collection |
createCollection(Class destClass)
|
protected Map |
createMap(Class destClass)
|
protected Object |
doMapping(Object src,
Class targetClass,
com.agapple.mapping.process.convetor.MappingConfig config)
|
protected abstract Class |
getComponentClass(Object src,
Class destClass)
|
protected com.agapple.mapping.process.convetor.MappingConfig |
initMapping(Class srcClass,
Class targetClass,
Class[] componentClasses)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionAndCollectionConvertor.BaseCollectionConvertor
public CollectionAndCollectionConvertor.BaseCollectionConvertor()
convert
public Object convert(Object src,
Class destClass)
- 指定者:
- 接口
Convertor 中的 convert - 覆盖:
- 类
AbastactConvertor 中的 convert
getComponentClass
protected abstract Class getComponentClass(Object src,
Class destClass)
initMapping
protected com.agapple.mapping.process.convetor.MappingConfig initMapping(Class srcClass,
Class targetClass,
Class[] componentClasses)
doMapping
protected Object doMapping(Object src,
Class targetClass,
com.agapple.mapping.process.convetor.MappingConfig config)
createMap
protected Map createMap(Class destClass)
createCollection
protected Collection createCollection(Class destClass)
arraySet
protected void arraySet(Object src,
Class compoentType,
int i,
Object value)
arrayGet
protected Object arrayGet(Object src,
Class compoentType,
int i)
Copyright © 2011. All Rights Reserved.