Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.transformer
Class TransformerUtils

    java.lang.Object
      org.mule.transformer.TransformerUtils

    public class TransformerUtils

extends Object

Nested Class Summary
`protected static interface` | `TransformerUtils.TransformerSource`

Field Summary
`static String` | `COMMA`

Constructor Summary
`TransformerUtils()`

Method Summary
`static Transformer` | `firstOrNull(List<Transformer> transformers)`
`static List<Transformer>` | `getDefaultInboundTransformers(TransportServiceDescriptor serviceDescriptor, ImmutableEndpoint endpoint)`
`static List<Transformer>` | `getDefaultOutboundTransformers(TransportServiceDescriptor serviceDescriptor, ImmutableEndpoint endpoint)`
`static List<Transformer>` | `getDefaultResponseTransformers(TransportServiceDescriptor serviceDescriptor, ImmutableEndpoint endpoint)`
`static List<Transformer>` | `getTransformers(String names, MuleContext muleContext)` Builds a list of Transformers.
`protected static List<Transformer>` | `getTransformersFromSource(TransformerUtils.TransformerSource source)`
`static void` | `initialiseAllTransformers(List<Transformer> transformers)`
`static boolean` | `isSourceTypeSupportedByFirst(List<Transformer> transformers, Class clazz)`
`static String` | `toString(List<Transformer> transformers)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### COMMA

    public static final String COMMA

See Also:
  Constant Field Values

Constructor Detail

### TransformerUtils

    public TransformerUtils()

Method Detail

### initialiseAllTransformers

    public static void initialiseAllTransformers(List<Transformer> transformers)
                                          throws InitialisationException

  Throws:
    `InitialisationException`

### toString

    public static String toString(List<Transformer> transformers)

### firstOrNull

    public static Transformer firstOrNull(List<Transformer> transformers)

### isSourceTypeSupportedByFirst

    public static boolean isSourceTypeSupportedByFirst(List<Transformer> transformers,
                                                       Class clazz)

### getTransformersFromSource

    protected static List<Transformer> getTransformersFromSource(TransformerUtils.TransformerSource source)

### getDefaultInboundTransformers

    public static List<Transformer> getDefaultInboundTransformers(TransportServiceDescriptor serviceDescriptor,
                                                                  ImmutableEndpoint endpoint)

### getDefaultResponseTransformers

    public static List<Transformer> getDefaultResponseTransformers(TransportServiceDescriptor serviceDescriptor,
                                                                   ImmutableEndpoint endpoint)

### getDefaultOutboundTransformers

    public static List<Transformer> getDefaultOutboundTransformers(TransportServiceDescriptor serviceDescriptor,
                                                                   ImmutableEndpoint endpoint)

### getTransformers

    public static List<Transformer> getTransformers(String names,
                                                    MuleContext muleContext)
                                             throws DefaultMuleException

  Builds a list of Transformers.

  Parameters:
    `names` - - a list of transformers separated by commans
    `muleContext` - the current muleContext. This is used to look up transformers in the registry
  Returns:
    a list (possibly empty) of transformers or
  Throws:
    `DefaultMuleException` - if any of the transformers cannot be found

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.