|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Converter | |
---|---|
net.sf.morph.context.contexts | Context implementations. |
net.sf.morph.integration.commons.beanutils | Integration with Apache Commons Beanutils. |
net.sf.morph.integration.commons.collections | Integration with Apache Commons Collections. |
net.sf.morph.lang.languages | Language implementations. |
net.sf.morph.transform | Defines a standard way to transform information from one format or source to another. |
net.sf.morph.transform.converters | Converter implementations. |
net.sf.morph.transform.copiers | Copier implementations. |
net.sf.morph.transform.transformers | Transformer implementations. |
Uses of Converter in net.sf.morph.context.contexts |
---|
Methods in net.sf.morph.context.contexts that return Converter | |
---|---|
Converter |
ContextDecorator.getConverter()
|
Converter |
BaseContext.getConverter()
Get the converter. |
Methods in net.sf.morph.context.contexts with parameters of type Converter | |
---|---|
void |
ContextDecorator.setConverter(Converter converter)
|
void |
BaseContext.setConverter(Converter converter)
Set the converter. |
Uses of Converter in net.sf.morph.integration.commons.beanutils |
---|
Classes in net.sf.morph.integration.commons.beanutils that implement Converter | |
---|---|
class |
BeanUtilsConverter
A converter which delegates to Commons BeanUtils. |
Uses of Converter in net.sf.morph.integration.commons.collections |
---|
Classes in net.sf.morph.integration.commons.collections that implement Converter | |
---|---|
class |
TransformerToDecoratedConverterAdapter
Adapt a org.apache.commons.collections.Transformer to our DecoratedConverter interface. |
Uses of Converter in net.sf.morph.lang.languages |
---|
Methods in net.sf.morph.lang.languages that return Converter | |
---|---|
Converter |
BaseLanguage.getConverter()
Get the Converter. |
Methods in net.sf.morph.lang.languages with parameters of type Converter | |
---|---|
void |
BaseLanguage.setConverter(Converter converter)
Set the Converter. |
Uses of Converter in net.sf.morph.transform |
---|
Subinterfaces of Converter in net.sf.morph.transform | |
---|---|
interface |
DecoratedConverter
An extension of the Converter interface that defines a few more convenient methods. |
Uses of Converter in net.sf.morph.transform.converters |
---|
Classes in net.sf.morph.transform.converters that implement Converter | |
---|---|
class |
ArbitraryObjectMappingConverter
A transformer which transforms defined arbitrary objects to other defined arbitrary objects based on this class' mapping property. |
class |
ArbitraryTypeMappingConverter
A transformer which transforms objects which are instances of a type into other defined objects based on this class' mapping property. |
class |
BaseToPrettyTextConverter
Base class for converts that convert objects to a pretty programmer-friendly representation using information retrieved using a reflector. |
class |
BeanToPrettyTextConverter
Converts a bean to a textual representation (String or StringBuffer only). |
class |
BooleanToTextConverter
Converts boolean values to text values. |
class |
ConstantConverter
Converter that always returns a certain destination object. |
class |
ContainerToPrettyTextConverter
Converts a container to a textual representation (String or StringBuffer only). |
class |
ContainerToTraverserConverter
Converts an object to a traverser type (an Iterator or an Enumeration). |
class |
ConverterDecorator
Decorates any Converter so that it implements DecoratedConverter . |
class |
DefaultToBooleanConverter
Converts any object to a Boolean by delegating to TextToBooleanConverter ,
NumberToBooleanConverter and
ObjectToBooleanConverter . |
class |
DefaultToTextConverter
Converts an object to a textual representation by delegating to ContainerToPrettyTextConverter ,
BooleanToTextConverter ,
TimeToTextConverter ,
NumberToTextConverter and
ObjectToTextConverter . |
class |
EvaluateExpressionConverter
A Converter that returns the result of evaluating a property against an object using a DecoratedLanguage. |
class |
IdentityConverter
Converts objects that are already instances of the destination class by simply returning the object unchanged. |
class |
ImmutableTypesOnlyIdentityConverter
An identity converter that only converts immutable types. |
class |
NullConverter
Deprecated. an IdentityConverter can do the same thing. |
class |
NumberConverter
Converts a number from one number type to another. |
class |
NumberToBooleanConverter
Converts numbers to boolean values. |
class |
NumberToTextConverter
Converts Number s into basic text types (String ,
StringBuffer or Character ). |
class |
NumberToTimeConverter
|
class |
ObjectToBooleanConverter
Converts any object to a Boolean. |
class |
ObjectToClassConverter
Converts an object into that object's class. |
class |
ObjectToPrettyTextConverter
. |
class |
ObjectToTextConverter
Converts an object to a textual representation by calling the object's toString method. |
class |
PrimitiveWrapperConverter
Converts primitive objects to their Object wrappers and vice-versa. |
class |
TextConverter
Converts text types ( String ,
StringBuffer and Character ,
char[] and byte[] from one type to another. |
class |
TextToBooleanConverter
Converts text values to Booleans. |
class |
TextToClassConverter
Converts a basic text type ( String or
StringBuffer ) into a Class . |
class |
TextToNumberConverter
Converts basic text types into primitive numbers or Number
objects. |
class |
TextToTimeConverter
|
class |
TimeConverter
Converts information from one of the basic time types to the other. |
class |
TimeToNumberConverter
|
class |
TimeToTextConverter
Converts the basic time types ( Date and
Calendar ) to one of the text types (
String , StringBuffer and
Character ). |
Methods in net.sf.morph.transform.converters that return Converter | |
---|---|
Converter |
ObjectToPrettyTextConverter.getBeanToPrettyTextConverter()
Get the converter used to convert beans to pretty text. |
Converter |
ObjectToPrettyTextConverter.getContainerToPrettyTextConverter()
Get the converter used to convert containers to pretty text. |
Converter |
ConverterDecorator.getNestedConverter()
|
Converter |
TimeToNumberConverter.getNumberConverter()
Get the number converter used by this TimeToNumberConverter. |
Converter |
TextToNumberConverter.getNumberConverter()
Sets the converter used to convert text types from one type to another. |
Converter |
NumberToTimeConverter.getNumberConverter()
Get the number converter used by this NumberToTimeConverter. |
Converter |
NumberToTextConverter.getNumberConverter()
Get the number converter used by this NumberToTextConverter. |
Converter |
TimeToTextConverter.getTextConverter()
Get the text converter used by this TimeToTextConverter. |
Converter |
TextToTimeConverter.getTextConverter()
Get the text converter used by this TextToTimeConverter. |
Converter |
TextToNumberConverter.getTextConverter()
Gets the converter used to convert text types from one type to another. |
Converter |
TextToClassConverter.getTextConverter()
Get the text converter used by this TextToClassConverter. |
Converter |
TextToBooleanConverter.getTextConverter()
Get the text converter of this TextToBooleanConverter. |
Converter |
ObjectToTextConverter.getTextConverter()
Get the text converter used by this ObjectToTextConverter. |
Converter |
NumberToTextConverter.getTextConverter()
Get the text converter used by this NumberToTextConverter. |
Converter |
DefaultToTextConverter.getTextConverter()
Deprecated. since Morph 1.1 |
Converter |
BooleanToTextConverter.getTextConverter()
Get the text converter used by this BaseToPrettyTextConverter. |
Converter |
BaseToPrettyTextConverter.getTextConverter()
Get the text converter used by this BaseToPrettyTextConverter. |
Converter |
TimeToTextConverter.getTimeConverter()
Get the time converter used by this TimeToTextConverter. |
Converter |
TimeToNumberConverter.getTimeConverter()
Get the time converter used by this TimeToNumberConverter. |
Converter |
TextToTimeConverter.getTimeConverter()
Get the time converter used by this TextToTimeConverter. |
Converter |
NumberToTimeConverter.getTimeConverter()
Get the time converter used by this NumberToTimeConverter. |
Converter |
BaseToPrettyTextConverter.getToTextConverter()
Get the "to text" converter used by this BaseToPrettyTextConverter. |
Converter |
ContainerToTraverserConverter.getTraverserConverter()
Get the traverser converter used by this ContainerToTraverserConverter. |
Methods in net.sf.morph.transform.converters with parameters of type Converter | |
---|---|
void |
ObjectToPrettyTextConverter.setBeanToPrettyTextConverter(Converter beanToTextConverter)
Set the converter used to convert beans to pretty text. |
void |
ObjectToPrettyTextConverter.setContainerToPrettyTextConverter(Converter containerToTextConverter)
Set the converter used to convert containers to pretty text. |
void |
ConverterDecorator.setNestedConverter(Converter converter)
|
void |
TimeToNumberConverter.setNumberConverter(Converter numberConverter)
Set the number converter used by this TimeToNumberConverter. |
void |
TextToNumberConverter.setNumberConverter(Converter numberConverter)
Sets the converter used to convert text types from one type to another. |
void |
NumberToTimeConverter.setNumberConverter(Converter numberConverter)
Set the number converter used by this NumberToTimeConverter. |
void |
NumberToTextConverter.setNumberConverter(Converter numberConverter)
Sets the numberConverter to be used. |
void |
TimeToTextConverter.setTextConverter(Converter textConverter)
Set the text converter used by this TimeToTextConverter. |
void |
TextToTimeConverter.setTextConverter(Converter textConverter)
Set the text converter used by this TextToTimeConverter. |
void |
TextToNumberConverter.setTextConverter(Converter textConverter)
Sets the converter used to convert text types from one type to another. |
void |
TextToClassConverter.setTextConverter(Converter textConverter)
Set the text converter used by this TextToClassConverter. |
void |
TextToBooleanConverter.setTextConverter(Converter textConverter)
Set the text converter of this TextToBooleanConverter. |
void |
ObjectToTextConverter.setTextConverter(Converter textConverter)
Set the text converter used by this ObjectToTextConverter. |
void |
NumberToTextConverter.setTextConverter(Converter textConverter)
Sets the textConverter to be used. |
void |
DefaultToTextConverter.setTextConverter(Converter textConverter)
Deprecated. since Morph 1.1 |
void |
BooleanToTextConverter.setTextConverter(Converter textConverter)
Set the text converter used by this BaseToPrettyTextConverter. |
void |
BaseToPrettyTextConverter.setTextConverter(Converter textConverter)
Set the text converter used by this BaseToPrettyTextConverter. |
void |
TimeToTextConverter.setTimeConverter(Converter timeConverter)
Set the time converter used by this TimeToTextConverter. |
void |
TimeToNumberConverter.setTimeConverter(Converter timeConverter)
Set the time converter used by this TimeToNumberConverter. |
void |
TextToTimeConverter.setTimeConverter(Converter timeConverter)
Set the time converter used by this TextToTimeConverter. |
void |
NumberToTimeConverter.setTimeConverter(Converter timeConverter)
Set the time converter used by this NumberToTimeConverter. |
void |
BaseToPrettyTextConverter.setToTextConverter(Converter objectToTextConverter)
Set the "to text" converter used by this BaseToPrettyTextConverter. |
void |
ContainerToTraverserConverter.setTraverserConverter(Converter traverserConverter)
Set the traverser converter used by this ContainerToTraverserConverter. |
Constructors in net.sf.morph.transform.converters with parameters of type Converter | |
---|---|
ConverterDecorator(Converter converter)
Create a new ConverterDecorator. |
|
ConverterDecorator(Converter converter,
java.util.Locale defaultLocale)
Create a new ConverterDecorator. |
Uses of Converter in net.sf.morph.transform.copiers |
---|
Classes in net.sf.morph.transform.copiers that implement Converter | |
---|---|
class |
ArrayCopier
TODO tests with 3-dimensional arrays |
class |
AssemblerCopier
A copier that copies multiple source objects to a single destination object, implementing an "Assembler." |
class |
BasePropertyNameCopier
Base class for copiers that copy information from one bean to another based on the property names in the source and destination objects. |
class |
CombiningCopier
Combines all of the contents of a container into a single container. |
class |
ConditionalCopier
This copier uses an if Converter to convert an incoming object to a Boolean. |
class |
ContainerCopier
Copies information from any container object to any object that has either a GrowableContainerReflector or a
MutableIndexedContainerReflector . |
class |
ContainerOfBeansCopier
Deprecated. it's not clear what the intent of this copier was |
class |
CopierDecorator
Decorates any Copier so that it implements DecoratedCopier. |
class |
CumulativeCopier
Composite Transformer whose children must be Copiers and which invokes each child Copier in turn in the course of performing a copy operation. |
class |
DisassemblerCopier
A copier that copies a source to multiple destination objects, implementing a "Disassembler." |
class |
ImmutableComponentArrayCopier
Copies arrays of matching immutable component types using System.arraycopy. |
class |
MapCopier
Copies one Map to another. |
class |
MultipleDestinationConverter
Deprecated. since v1.1 in favor of DisassemblerCopier |
class |
NOPCopier
No-op Copier / instantiation-only Converter. |
class |
PropertyExpressionMappingCopier
Maps property expressions between objects using a Morph Language. |
class |
PropertyNameMappingCopier
Copies properties from the source to the destination based on a mapping of property names. |
class |
PropertyNameMatchingCopier
Copies the properties specified by the propertiesToCopy
property of this class from the source to the destination. |
class |
SetExpressionCopier
Uses a DecoratedLanguage to set the property denoted by an expression on the destination object. |
class |
TextToContainerCopier
Parses text into multiple parts for storage in a container. |
Methods in net.sf.morph.transform.copiers that return Converter | |
---|---|
Converter |
DisassemblerCopier.getClassConverter()
Get the Converter used to convert a Disassembly object to a destination class. |
Converter |
MultipleDestinationConverter.getContainerConverter()
Deprecated. Get the container converter that will be used by this converter. |
Converter |
ConditionalCopier.getIfConverter()
Get the ifConverter. |
Converter |
TextToContainerCopier.getTextConverter()
Get the text converter used by this TextToContainerCopier. |
Methods in net.sf.morph.transform.copiers with parameters of type Converter | |
---|---|
void |
DisassemblerCopier.setClassConverter(Converter classConverter)
Set the classConverter used to convert a Disassembly object to a destination class. |
void |
MultipleDestinationConverter.setContainerConverter(Converter containerTransformer)
Deprecated. Set the container converter that will be used by this converter. |
void |
ConditionalCopier.setIfConverter(Converter ifConverter)
Set the ifConverter. |
void |
TextToContainerCopier.setTextConverter(Converter textConverter)
Set the text converter used by this TextToContainerCopier. |
Uses of Converter in net.sf.morph.transform.transformers |
---|
Classes in net.sf.morph.transform.transformers that implement Converter | |
---|---|
class |
ChainedTransformer
Runs one or more transformers in a chain. |
class |
SimpleDelegatingTransformer
Delegates transformations to a list of transformers. |
class |
TypeChangingGraphTransformer
A transformer that performs a deep copy of the data in an object graph while also allowing the types in the destination graph to be different than the types in the source graph. |
Methods in net.sf.morph.transform.transformers that return Converter | |
---|---|
protected Converter |
ChainedTransformer.getCopyConverter()
Get the converter used when using a ChainedTransformer as a Copier. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |