info.magnolia.beanmerger
Class BeanMergerBase

java.lang.Object
  extended by info.magnolia.beanmerger.BeanMergerBase
All Implemented Interfaces:
BeanMerger
Direct Known Subclasses:
ProxyBasedBeanMerger

public abstract class BeanMergerBase
extends Object
implements BeanMerger

Base implementation of interface BeanMerge.


Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
BeanMergerBase()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.slf4j.Logger log
Constructor Detail

BeanMergerBase

public BeanMergerBase()
Method Detail

merge

public Object merge(List sources)
Specified by:
merge in interface BeanMerger

mergeBean

protected abstract Object mergeBean(List sources)

mergeMaps

protected Map mergeMaps(List<Map> sources)

mergeCollections

protected Collection mergeCollections(List<Collection> sources)

isSimpleType

protected boolean isSimpleType(Class type)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.