net.sf.morph.transform.converters
Class DefaultToTextConverter
java.lang.Object
net.sf.morph.transform.transformers.BaseTransformer
net.sf.morph.transform.transformers.BaseCompositeTransformer
net.sf.morph.transform.transformers.SimpleDelegatingTransformer
net.sf.morph.transform.converters.DefaultToTextConverter
- All Implemented Interfaces:
- java.lang.Cloneable, net.sf.composite.Component, net.sf.composite.Composite, net.sf.composite.SimpleComposite, net.sf.composite.SpecializableComposite, net.sf.composite.StrictlyTypedComposite, Converter, Copier, DecoratedConverter, DecoratedCopier, DecoratedTransformer, ExplicitTransformer, ImpreciseTransformer, Transformer
public class DefaultToTextConverter
- extends SimpleDelegatingTransformer
Converts an object to a textual representation by delegating to
ContainerToPrettyTextConverter
,
BooleanToTextConverter
,
TimeToTextConverter
,
NumberToTextConverter
and
ObjectToTextConverter
.
- Since:
- Jan 1, 2005
- Author:
- Matt Sgarlata
Methods inherited from class net.sf.morph.transform.transformers.SimpleDelegatingTransformer |
clearVisitedSourceToDestinationMapIfNecessary, clone, convertImpl, copyImpl, createReusableSource, decrementStackDepth, getCachedResult, getComponents, getCopier, getDestinationClassesImpl, getSourceClassesImpl, getSpecializer, getTransformer, getTransformer, getTransformers, getVisitedSourceToDestinationMap, hasVisited, hasVisitedDestination, incrementStackDepth, initializeImpl, isAutomaticallyHandlingNulls, isImpreciseTransformationImpl, isPerformingLogging, isPreferPreciseTransformers, isSpecializable, isTransformableImpl, recordVisit, setComponents, setPreferPreciseTransformers, setSpecializer, specialize |
Methods inherited from class net.sf.morph.transform.transformers.BaseTransformer |
convert, convert, copy, copy, createDefaultReflector, createNewInstance, createNewInstanceImpl, equals, equals, equalsUnidirectionalTest, getDestinationClasses, getInstantiatingReflector, getLocale, getLog, getNestedTransformer, getReflector, getReflector, getSourceClasses, getTransformableCallCache, getTransformerName, initialize, isCachingIsTransformableCalls, isImpreciseTransformation, isInitialized, isTransformable, 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.Copier |
copy |
DefaultToTextConverter
public DefaultToTextConverter()
- Create a new DefaultToTextConverter.
DefaultToTextConverter
public DefaultToTextConverter(Transformer[] components,
boolean appendDefaultComponents)
- Create a new DefaultToTextConverter.
- Parameters:
components
- appendDefaultComponents
-
DefaultToTextConverter
public DefaultToTextConverter(Transformer[] components)
- Create a new DefaultToTextConverter.
- Parameters:
components
-
createDefaultComponents
protected Transformer[] createDefaultComponents()
- Create the default set of Transformer components.
- Overrides:
createDefaultComponents
in class SimpleDelegatingTransformer
- Returns:
- Transformer[]
getTextConverter
public Converter getTextConverter()
- Deprecated. since Morph 1.1
- Unused
- Returns:
setTextConverter
public void setTextConverter(Converter textConverter)
- Deprecated. since Morph 1.1
- Unused
- Parameters:
textConverter
-
Copyright © 2004-2008.