| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Transformer | |
|---|---|
| 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.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. | 
| net.sf.morph.util | Utility classes used to implement the Morph framework. | 
| Uses of Transformer in net.sf.morph.integration.commons.beanutils | 
|---|
| Classes in net.sf.morph.integration.commons.beanutils that implement Transformer | |
|---|---|
|  class | BeanUtilsConverterA converter which delegates to Commons BeanUtils. | 
| Uses of Transformer in net.sf.morph.integration.commons.collections | 
|---|
| Classes in net.sf.morph.integration.commons.collections that implement Transformer | |
|---|---|
|  class | TransformerToDecoratedConverterAdapterAdapt a org.apache.commons.collections.Transformer to our DecoratedConverter interface. | 
| Uses of Transformer in net.sf.morph.transform | 
|---|
| Subinterfaces of Transformer in net.sf.morph.transform | |
|---|---|
|  interface | ConverterAn object that can convert one type of object into another type of object. | 
|  interface | CopierAn object that can copy information from a source object to a destination object. | 
|  interface | DecoratedConverterAn extension of the Converter interface that defines a few more convenient methods. | 
|  interface | DecoratedCopierAn extension of the Copier interface that defines a few more convenient methods. | 
|  interface | DecoratedTransformerAn extension of the Transformer interface that defines extra methods. | 
|  interface | ImpreciseTransformerDefines a transformer whose operation may result in a loss of data precision. | 
|  interface | NodeCopierA copier used by a net.sf.morph.transform.GraphTransformerto 
 assist in the transformation of one object graph into another object graph. | 
| Methods in net.sf.morph.transform that return Transformer | |
|---|---|
|  Transformer | NodeCopier.getNestedTransformer()Retrieves the transformer used to perform nested transformations. | 
| Methods in net.sf.morph.transform with parameters of type Transformer | |
|---|---|
|  void | NodeCopier.setNestedTransformer(Transformer nestedTransformer)Sets the transformer used to perform nested transformations. | 
| Uses of Transformer in net.sf.morph.transform.converters | 
|---|
| Classes in net.sf.morph.transform.converters that implement Transformer | |
|---|---|
|  class | ArbitraryObjectMappingConverterA transformer which transforms defined arbitrary objects to other defined arbitrary objects based on this class' mappingproperty. | 
|  class | ArbitraryTypeMappingConverterA transformer which transforms objects which are instances of a type into other defined objects based on this class' mappingproperty. | 
|  class | BaseToPrettyTextConverterBase class for converts that convert objects to a pretty programmer-friendly representation using information retrieved using a reflector. | 
|  class | BeanToPrettyTextConverterConverts a bean to a textual representation (String or StringBuffer only). | 
|  class | BooleanToTextConverterConverts boolean values to text values. | 
|  class | ConstantConverterConverter that always returns a certain destination object. | 
|  class | ContainerToPrettyTextConverterConverts a container to a textual representation (String or StringBuffer only). | 
|  class | ContainerToTraverserConverterConverts an object to a traverser type (an Iterator or an Enumeration). | 
|  class | ConverterDecoratorDecorates any Converter so that it implements DecoratedConverter. | 
|  class | DefaultToBooleanConverterConverts any object to a Boolean by delegating to TextToBooleanConverter,NumberToBooleanConverterandObjectToBooleanConverter. | 
|  class | DefaultToTextConverterConverts an object to a textual representation by delegating to ContainerToPrettyTextConverter,BooleanToTextConverter,TimeToTextConverter,NumberToTextConverterandObjectToTextConverter. | 
|  class | EvaluateExpressionConverterA Converter that returns the result of evaluating a property against an object using a DecoratedLanguage. | 
|  class | IdentityConverterConverts objects that are already instances of the destination class by simply returning the object unchanged. | 
|  class | ImmutableTypesOnlyIdentityConverterAn identity converter that only converts immutable types. | 
|  class | NullConverterDeprecated. an IdentityConverter can do the same thing. | 
|  class | NumberConverterConverts a number from one number type to another. | 
|  class | NumberToBooleanConverterConverts numbers to boolean values. | 
|  class | NumberToTextConverterConverts Numbers into basic text types (String,StringBufferorCharacter). | 
|  class | NumberToTimeConverter | 
|  class | ObjectToBooleanConverterConverts any object to a Boolean. | 
|  class | ObjectToClassConverterConverts an object into that object's class. | 
|  class | ObjectToPrettyTextConverter. | 
|  class | ObjectToTextConverterConverts an object to a textual representation by calling the object's toStringmethod. | 
|  class | PrimitiveWrapperConverterConverts primitive objects to their Object wrappers and vice-versa. | 
|  class | TextConverterConverts text types ( String,StringBufferandCharacter,char[]andbyte[]from one type to another. | 
|  class | TextToBooleanConverterConverts text values to Booleans. | 
|  class | TextToClassConverterConverts a basic text type ( StringorStringBuffer) into aClass. | 
|  class | TextToNumberConverterConverts basic text types into primitive numbers or Numberobjects. | 
|  class | TextToTimeConverter | 
|  class | TimeConverterConverts information from one of the basic time types to the other. | 
|  class | TimeToNumberConverter | 
|  class | TimeToTextConverterConverts the basic time types ( DateandCalendar) to one of the text types (String,StringBufferandCharacter). | 
| Methods in net.sf.morph.transform.converters that return Transformer | |
|---|---|
| protected  Transformer[] | DefaultToTextConverter.createDefaultComponents()Create the default set of Transformer components. | 
| protected  Transformer[] | DefaultToBooleanConverter.createDefaultComponents()Create the default set of Transformer components. | 
| Constructors in net.sf.morph.transform.converters with parameters of type Transformer | |
|---|---|
| DefaultToTextConverter(Transformer[] components)Create a new DefaultToTextConverter. | |
| DefaultToTextConverter(Transformer[] components,
                       boolean appendDefaultComponents)Create a new DefaultToTextConverter. | |
| Uses of Transformer in net.sf.morph.transform.copiers | 
|---|
| Classes in net.sf.morph.transform.copiers that implement Transformer | |
|---|---|
|  class | ArrayCopierTODO tests with 3-dimensional arrays | 
|  class | AssemblerCopierA copier that copies multiple source objects to a single destination object, implementing an "Assembler." | 
|  class | AssemblyCopierSupportSupport for AssemblerCopier/DisassemblerCopier. | 
|  class | BasePropertyNameCopierBase class for copiers that copy information from one bean to another based on the property names in the source and destination objects. | 
|  class | CombiningCopierCombines all of the contents of a container into a single container. | 
|  class | ConditionalCopierThis copier uses an ifConverterto convert an incoming object to a Boolean. | 
|  class | ContainerCopierCopies information from any container object to any object that has either a GrowableContainerReflectoror aMutableIndexedContainerReflector. | 
|  class | ContainerOfBeansCopierDeprecated. it's not clear what the intent of this copier was | 
|  class | CopierDecoratorDecorates any Copier so that it implements DecoratedCopier. | 
|  class | CumulativeCopierComposite Transformer whose children must be Copiers and which invokes each child Copier in turn in the course of performing a copy operation. | 
|  class | DisassemblerCopierA copier that copies a source to multiple destination objects, implementing a "Disassembler." | 
|  class | ImmutableComponentArrayCopierCopies arrays of matching immutable component types using System.arraycopy. | 
|  class | MapCopierCopies one Map to another. | 
|  class | MultipleDestinationConverterDeprecated. since v1.1 in favor of DisassemblerCopier | 
|  class | NOPCopierNo-op Copier / instantiation-only Converter. | 
|  class | PropertyExpressionMappingCopierMaps property expressions between objects using a Morph Language. | 
|  class | PropertyNameMappingCopierCopies properties from the source to the destination based on a mapping of property names. | 
|  class | PropertyNameMatchingCopierCopies the properties specified by the propertiesToCopyproperty of this class from the source to the destination. | 
|  class | SetExpressionCopierUses a DecoratedLanguage to set the property denoted by an expression on the destination object. | 
|  class | TextToContainerCopierParses text into multiple parts for storage in a container. | 
| Methods in net.sf.morph.transform.copiers that return Transformer | |
|---|---|
| protected  Transformer | BasePropertyNameCopier.chooseTransformer(java.lang.String sourceProperty,
                  java.lang.Object source,
                  java.lang.String destinationProperty,
                  java.lang.Object destination,
                  java.util.Locale locale,
                  java.lang.Integer preferredTransformationType)Choose the appropriate property transformer. | 
| protected  Transformer | ContainerOfBeansCopier.getBeanTransformer()Deprecated. | 
|  Transformer | ConditionalCopier.getElseTransformer()Get the elseTransformer. | 
|  Transformer | PropertyExpressionMappingCopier.getNestedTransformer()NodeCopier.getNestedTransformer() | 
|  Transformer | ContainerCopier.getNestedTransformer()NodeCopier.getNestedTransformer() | 
|  Transformer | BasePropertyNameCopier.getNestedTransformer()NodeCopier.getNestedTransformer() | 
|  Transformer | AssemblyCopierSupport.getNestedTransformer()Get the transformer (Copier) which, in the absence of a components list, will be used to perform nested transformations. | 
|  Transformer | ConditionalCopier.getThenTransformer()Get the thenTransformer. | 
| Methods in net.sf.morph.transform.copiers with parameters of type Transformer | |
|---|---|
|  void | ConditionalCopier.setElseTransformer(Transformer elseTransformer)Set the elseTransformer. | 
|  void | PropertyExpressionMappingCopier.setNestedTransformer(Transformer nestedTransformer)NodeCopier.setNestedTransformer(Transformer) | 
| protected  void | CopierDecorator.setNestedTransformer(Transformer nestedTransformer)NodeCopier.setNestedTransformer(Transformer) | 
|  void | ContainerCopier.setNestedTransformer(Transformer transformer)NodeCopier.setNestedTransformer(Transformer) | 
|  void | BasePropertyNameCopier.setNestedTransformer(Transformer transformer)NodeCopier.setNestedTransformer(Transformer) | 
|  void | AssemblyCopierSupport.setNestedTransformer(Transformer nestedTransformer)Set the transformer (Copier) which, in the absence of a components list, will be used to perform nested transformations. | 
|  void | ConditionalCopier.setThenTransformer(Transformer thenTransformer)Set the thenTransformer. | 
| Constructors in net.sf.morph.transform.copiers with parameters of type Transformer | |
|---|---|
| CumulativeCopier(Transformer[] components)Create a new CumulativeCopier. | |
| Uses of Transformer in net.sf.morph.transform.transformers | 
|---|
| Classes in net.sf.morph.transform.transformers that implement Transformer | |
|---|---|
|  class | BaseCompositeTransformer | 
|  class | BaseReflectorTransformerA base class for transformers that are implemented using a Reflector. | 
|  class | BaseTransformerConvenient base class for transformers. | 
|  class | ChainedTransformerRuns one or more transformers in a chain. | 
|  class | SimpleDelegatingTransformerDelegates transformations to a list of transformers. | 
|  class | TransformerDecoratorDecorates any Transformer so that it implements DecoratedTransformer. | 
|  class | TypeChangingGraphTransformerA 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 Transformer | |
|---|---|
| protected  Transformer[] | SimpleDelegatingTransformer.createDefaultComponents()Create the default set of Transformer components. | 
| protected  Transformer[] | ChainedTransformer.getChain()Get the components array narrowed to a Transformer[]. | 
| protected  Transformer | BaseTransformer.getNestedTransformer()NodeCopier.getNestedTransformer() | 
|  Transformer | TransformerDecorator.getTransformer() | 
| protected  Transformer | TypeChangingGraphTransformer.getTransformer(java.lang.Class transformerType) | 
| protected  Transformer | SimpleDelegatingTransformer.getTransformer(java.lang.Class destinationClass,
               java.lang.Class sourceClass)Finds a Transformer that is capable of transforming sourceClasstodestinationClass. | 
| protected  Transformer | SimpleDelegatingTransformer.getTransformer(java.util.Map registry,
               java.lang.Class transformerType,
               java.lang.Class destinationClass,
               java.lang.Class sourceClass)Finds a transformer of type transformerTypethat is
 capable of transformingsourceClasstodestinationClass. | 
|  Transformer[] | SimpleDelegatingTransformer.getTransformers()Get our components as a typesafe Transformer array. | 
| Methods in net.sf.morph.transform.transformers with parameters of type Transformer | |
|---|---|
| protected  void | BaseTransformer.setNestedTransformer(Transformer nestedTransformer)NodeCopier.setNestedTransformer(Transformer) | 
| protected  void | BaseCompositeTransformer.setNestedTransformer(Transformer nestedTransformer) | 
|  void | TransformerDecorator.setTransformer(Transformer transformer) | 
| protected  void | BaseCompositeTransformer.updateNestedTransformerComponents(Transformer incoming,
                                  Transformer outgoing)Propagate our nested transformer to any component NodeCopiers. | 
| Constructors in net.sf.morph.transform.transformers with parameters of type Transformer | |
|---|---|
| ChainedTransformer(Transformer[] chain)Create a new ChainedTransformer. | |
| SimpleDelegatingTransformer(Transformer[] components)Construct a new SimpleDelegatingTransformer. | |
| SimpleDelegatingTransformer(Transformer[] components,
                            boolean appendDefaultComponents)Construct a new SimpleDelegatingTransformer. | |
| TransformerDecorator(Transformer transformer) | |
| Uses of Transformer in net.sf.morph.util | 
|---|
| Methods in net.sf.morph.util with parameters of type Transformer | |
|---|---|
| static java.lang.Class[] | TransformerUtils.getDestinationClasses(Transformer transformer,
                      java.lang.Class sourceType)Get the set of destination classes available from the specified Transformer for the specified source type. | 
| static java.lang.Class[] | TransformerUtils.getDestinationClassIntersection(Transformer[] transformers)Get the set of destination classes common to all specified Transformers. | 
| static java.lang.Class[] | TransformerUtils.getSourceClasses(Transformer transformer,
                 java.lang.Class destinationType)Get the set of source classes available from the specified Transformer for the specified destination type. | 
| static java.lang.Class[] | TransformerUtils.getSourceClassIntersection(Transformer[] transformers)Get the set of source classes common to all specified Transformers. | 
| static boolean | TransformerUtils.isImplicitlyTransformable(Transformer transformer,
                          java.lang.Class destinationClass,
                          java.lang.Class sourceClass)Learn whether sourceClassis transformable todestinationClassbytransformerconsidering only source and destination types. | 
| static boolean | TransformerUtils.isImpreciseTransformation(Transformer transformer,
                          java.lang.Class destinationClass,
                          java.lang.Class sourceClass)Learn whether transformer's transformation
 ofsourceClasstodestinationClassmight yield an imprecise result. | 
| static boolean | TransformerUtils.isTransformable(Transformer transformer,
                java.lang.Class destinationClass,
                java.lang.Class sourceClass)Learn whether sourceClassis transformable todestinationClassbytransformerby implicit or explicit rules. | 
| static java.lang.Object | TransformerUtils.transform(Transformer transformer,
          java.lang.Class destinationType,
          java.lang.Object destination,
          java.lang.Object source,
          java.util.Locale locale,
          java.lang.Integer preferredTransformationType)Performs a transformation of one object graph into another object graph. | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||