net.sf.morph.transform.copiers
Class ContainerOfBeansCopier

java.lang.Object
  extended by net.sf.morph.transform.transformers.BaseTransformer
      extended by net.sf.morph.transform.transformers.BaseReflectorTransformer
          extended by net.sf.morph.transform.copiers.ContainerCopier
              extended by net.sf.morph.transform.copiers.ContainerOfBeansCopier
All Implemented Interfaces:
net.sf.composite.Component, Converter, Copier, DecoratedConverter, DecoratedCopier, DecoratedTransformer, ExplicitTransformer, NodeCopier, Transformer

Deprecated. it's not clear what the intent of this copier was

public class ContainerOfBeansCopier
extends ContainerCopier

FIXME this class isn't done

Since:
Dec 20, 2004
Author:
Matt Sgarlata

Field Summary
 
Fields inherited from class net.sf.morph.transform.transformers.BaseTransformer
destinationClasses, log, sourceClasses
 
Fields inherited from interface net.sf.morph.transform.Transformer
TRANSFORMATION_TYPE_CONVERT, TRANSFORMATION_TYPE_COPY
 
Fields inherited from interface net.sf.morph.transform.Transformer
TRANSFORMATION_TYPE_CONVERT, TRANSFORMATION_TYPE_COPY
 
Fields inherited from interface net.sf.morph.transform.Transformer
TRANSFORMATION_TYPE_CONVERT, TRANSFORMATION_TYPE_COPY
 
Fields inherited from interface net.sf.morph.transform.Transformer
TRANSFORMATION_TYPE_CONVERT, TRANSFORMATION_TYPE_COPY
 
Fields inherited from interface net.sf.morph.transform.Transformer
TRANSFORMATION_TYPE_CONVERT, TRANSFORMATION_TYPE_COPY
 
Constructor Summary
ContainerOfBeansCopier()
          Deprecated.  
 
Method Summary
protected  Transformer getBeanTransformer()
          Deprecated.  
 java.lang.Class getDestinationBeanClass()
          Deprecated.  
protected  void put(int index, java.lang.Object destination, java.lang.Object value, java.lang.Class valueClass, java.util.Locale locale, java.lang.Integer preferredTransformationType)
          Deprecated. Adds an element to the destination object that is from the given index of the source object.
 void setDestinationBeanClass(java.lang.Class destinationBeanClass)
          Deprecated.  
 
Methods inherited from class net.sf.morph.transform.copiers.ContainerCopier
convertImpl, copyImpl, createReusableSource, determineDestinationContainedType, determineDestinationContainedType, getContainedSourceToDestinationTypeMap, getDestinationClassesImpl, getNestedTransformer, getSourceClassesImpl, isPreferGrow, isWrappingRuntimeExceptions, nestedTransform, setContainedSourceToDestinationTypeMap, setNestedTransformer, setPreferGrow
 
Methods inherited from class net.sf.morph.transform.transformers.BaseReflectorTransformer
getBeanReflector, getContainerReflector, getGrowableContainerReflector, getIndexedContainerReflector, getMutableIndexedContainerReflector, hasReflector
 
Methods inherited from class net.sf.morph.transform.transformers.BaseTransformer
clone, convert, convert, copy, copy, createDefaultReflector, createNewInstance, createNewInstanceImpl, equals, equals, equalsUnidirectionalTest, getDestinationClasses, getInstantiatingReflector, getLocale, getLog, getReflector, getReflector, getSourceClasses, getTransformableCallCache, getTransformerName, initialize, initializeImpl, isAutomaticallyHandlingNulls, isCachingIsTransformableCalls, isImpreciseTransformation, isImpreciseTransformationImpl, isInitialized, isPerformingLogging, isTransformable, isTransformableImpl, setCachingIsTransformableCalls, setDestinationClasses, setInitialized, setLog, setReflector, setSourceClasses, setTransformableCallCache, setTransformerName, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.morph.transform.DecoratedCopier
copy
 
Methods inherited from interface net.sf.morph.transform.Copier
copy
 
Methods inherited from interface net.sf.morph.transform.Transformer
getDestinationClasses, getSourceClasses
 
Methods inherited from interface net.sf.morph.transform.Transformer
getDestinationClasses, getSourceClasses
 
Methods inherited from interface net.sf.morph.transform.ExplicitTransformer
isTransformable
 
Methods inherited from interface net.sf.morph.transform.DecoratedConverter
convert, equals, equals
 
Methods inherited from interface net.sf.morph.transform.Converter
convert
 
Methods inherited from interface net.sf.morph.transform.Transformer
getDestinationClasses, getSourceClasses
 
Methods inherited from interface net.sf.morph.transform.Transformer
getDestinationClasses, getSourceClasses
 
Methods inherited from interface net.sf.morph.transform.ExplicitTransformer
isTransformable
 
Methods inherited from interface net.sf.morph.transform.NodeCopier
createNewInstance
 
Methods inherited from interface net.sf.morph.transform.Copier
copy
 
Methods inherited from interface net.sf.morph.transform.Transformer
getDestinationClasses, getSourceClasses
 

Constructor Detail

ContainerOfBeansCopier

public ContainerOfBeansCopier()
Deprecated. 
Method Detail

put

protected void put(int index,
                   java.lang.Object destination,
                   java.lang.Object value,
                   java.lang.Class valueClass,
                   java.util.Locale locale,
                   java.lang.Integer preferredTransformationType)
Deprecated. 
Description copied from class: ContainerCopier
Adds an element to the destination object that is from the given index of the source object.

Overrides:
put in class ContainerCopier
Parameters:
index - the current index into the container that is being transformed
destination - the destination container to which values are being copied from the source container
value - the value the source object has at the current index
valueClass - the type of sourceValue, or the type the sourceValue would be were it not null
locale - the locale in which the current transformation is taking place
preferredTransformationType - the preferred transformation type to perform when transforming the sourceValue for addition into the destination

getBeanTransformer

protected Transformer getBeanTransformer()
Deprecated. 

getDestinationBeanClass

public java.lang.Class getDestinationBeanClass()
Deprecated. 

setDestinationBeanClass

public void setDestinationBeanClass(java.lang.Class destinationBeanClass)
Deprecated. 


Copyright © 2004-2008.