public abstract class BeanMergerBase extends Object implements BeanMerger
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
BeanMergerBase() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isMergeable(Class type) |
protected boolean |
isSimpleType(Class type)
|
Object |
merge(List sources) |
protected abstract Object |
mergeBean(List sources) |
protected Collection |
mergeCollections(List<Collection> sources) |
protected Map |
mergeMaps(List<Map> sources) |
public Object merge(List sources)
merge
in interface BeanMerger
protected Collection mergeCollections(List<Collection> sources)
protected boolean isSimpleType(Class type)
protected boolean isMergeable(Class type)
true
if type is
Map
and Collection
.
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.