Package org.oddjob.arooa.convert
package org.oddjob.arooa.convert
Provides conversions between properties of different types.
The main entry point is DefaultConverter
-
ClassDescriptionSomething that can provide conversions between objects of different types.Caused when a Conversion fails.Something that finds a
ConversionPathbetween two classes.ConversionPath<F,T> A ConversionPath is a number of ConversionSteps from an Object of one class to an Object of another.Provides aConversionProvider.Something that is able to use a set ofConvertlets to find aConversionPathbetween two classes.A ConversionStack contains the diagnostics of applying a ConversionPath to an Object.Holds information about a paticular element in the stack.ConversionStep<F,T> A ConversionStep is one step in aConversionPath.Convertlet<F,T> AConvertletprovides a single conversion from an object of a certain type to an object of a different type.Thrown when aConvertletcan't convert something.Provide aConversionLookupfor the default conversions as given byDefaultConversionProvider.AConversionProviderfor the default conversions.Implementation of a ConvertletRegistry.The DefaultArooaConverter.FinalConvertlet<F,T> A FinalConvertlet is aConvertletthat can only be used in a ConversionPath if it converts to actual thing required.Joker<F>A Joker is used by types to offer a final conversion solution that trumps all others.Helper to provide null conversions.Provide anConversionProvidervia reflection.