net.sf.morph.transform.transformers
Class BaseReflectorTransformer
java.lang.Object
net.sf.morph.transform.transformers.BaseTransformer
net.sf.morph.transform.transformers.BaseReflectorTransformer
- All Implemented Interfaces:
- net.sf.composite.Component, DecoratedTransformer, ExplicitTransformer, Transformer
- Direct Known Subclasses:
- BasePropertyNameCopier, BaseToPrettyTextConverter, CombiningCopier, ContainerCopier, ContainerToTraverserConverter
public class BaseReflectorTransformer
- extends BaseTransformer
A base class for transformers that are implemented using a Reflector.
- Since:
- Dec 24, 2004
- Author:
- Matt Sgarlata
Methods inherited from class net.sf.morph.transform.transformers.BaseTransformer |
clone, convert, convert, convertImpl, copy, copy, copyImpl, createDefaultReflector, createNewInstance, createNewInstanceImpl, createReusableSource, equals, equals, equalsUnidirectionalTest, getDestinationClasses, getInstantiatingReflector, getLocale, getLog, getNestedTransformer, getReflector, getReflector, getSourceClasses, getTransformableCallCache, getTransformerName, initialize, initializeImpl, isAutomaticallyHandlingNulls, isCachingIsTransformableCalls, isImpreciseTransformation, isImpreciseTransformationImpl, isInitialized, isPerformingLogging, isTransformable, isTransformableImpl, isWrappingRuntimeExceptions, setCachingIsTransformableCalls, setDestinationClasses, setInitialized, setLog, setNestedTransformer, setReflector, setSourceClasses, setTransformableCallCache, setTransformerName, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseReflectorTransformer
public BaseReflectorTransformer()
getDestinationClassesImpl
protected java.lang.Class[] getDestinationClassesImpl()
throws java.lang.Exception
- Description copied from class:
BaseTransformer
Transformer.getDestinationClasses()
implementation template method.
- Specified by:
getDestinationClassesImpl
in class BaseTransformer
- Returns:
- Class[]
- Throws:
java.lang.Exception
getSourceClassesImpl
protected java.lang.Class[] getSourceClassesImpl()
throws java.lang.Exception
- Description copied from class:
BaseTransformer
Transformer.getSourceClasses()
implementation template method.
- Specified by:
getSourceClassesImpl
in class BaseTransformer
- Returns:
- Class[]
- Throws:
java.lang.Exception
getBeanReflector
protected BeanReflector getBeanReflector()
getContainerReflector
protected ContainerReflector getContainerReflector()
getMutableIndexedContainerReflector
protected MutableIndexedContainerReflector getMutableIndexedContainerReflector()
getIndexedContainerReflector
protected IndexedContainerReflector getIndexedContainerReflector()
getGrowableContainerReflector
protected GrowableContainerReflector getGrowableContainerReflector()
hasReflector
protected boolean hasReflector(java.lang.Class reflectorType)
Copyright © 2004-2008.