public class TextToByteConverter extends net.sf.morph.transform.transformers.BaseTransformer implements net.sf.morph.transform.DecoratedConverter
Constructor and Description |
---|
TextToByteConverter() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertImpl(Class destinationClass,
Object source,
Locale locale) |
protected Class<?>[] |
getDestinationClassesImpl() |
protected Class<?>[] |
getSourceClassesImpl() |
net.sf.morph.transform.DecoratedConverter |
getTextConverter()
Get the DecoratedConverter textConverter.
|
protected boolean |
isTransformableImpl(Class destinationType,
Class sourceType) |
void |
setTextConverter(net.sf.morph.transform.DecoratedConverter textConverter)
Set the DecoratedConverter textConverter.
|
clone, convert, convert, 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, isWrappingRuntimeExceptions, setCachingIsTransformableCalls, setDestinationClasses, setInitialized, setLog, setNestedTransformer, setReflector, setSourceClasses, setTransformableCallCache, setTransformerName, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public TextToByteConverter()
protected Object convertImpl(Class destinationClass, Object source, Locale locale) throws Exception
convertImpl
in class net.sf.morph.transform.transformers.BaseTransformer
Exception
protected Class<?>[] getDestinationClassesImpl() throws Exception
getDestinationClassesImpl
in class net.sf.morph.transform.transformers.BaseTransformer
Exception
protected Class<?>[] getSourceClassesImpl() throws Exception
getSourceClassesImpl
in class net.sf.morph.transform.transformers.BaseTransformer
Exception
protected boolean isTransformableImpl(Class destinationType, Class sourceType) throws Exception
isTransformableImpl
in class net.sf.morph.transform.transformers.BaseTransformer
Exception
public net.sf.morph.transform.DecoratedConverter getTextConverter()
public void setTextConverter(net.sf.morph.transform.DecoratedConverter textConverter)
textConverter
- DecoratedConverterCopyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.