| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.message.Message |
TransformationService.applyTransformers(org.mule.runtime.api.message.Message message,
Event event,
Transformer... transformers)
Applies a list of transformers returning the result of the transformation as a new message instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.message.Message |
TransformationService.applyTransformers(org.mule.runtime.api.message.Message message,
Event event,
List<? extends Transformer> transformers)
Applies a list of transformers returning the result of the transformation as a new message instance.
|
| Modifier and Type | Method and Description |
|---|---|
Transformer |
MuleRegistry.lookupTransformer(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result)
Will find a transformer that is the closest match to the desired input and output.
|
Transformer |
MuleRegistry.lookupTransformer(String name) |
Transformer |
TransformerResolver.resolve(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result)
Responsible for finding a transformer with the given criteria.
|
| Modifier and Type | Method and Description |
|---|---|
List<Transformer> |
MuleRegistry.lookupTransformers(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result)
This method will return a list of
Transformer objects that accept the given
input and return the given output type of object |
| Modifier and Type | Method and Description |
|---|---|
void |
MuleRegistry.registerTransformer(Transformer transformer) |
void |
TransformerResolver.transformerChange(Transformer transformer,
TransformerResolver.RegistryAction registryAction)
A callback that is called when a transformer is registered or unregistered from the registry.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Converter
Defines a
Transformer that is a data type converters, ie: convert data from a type to another without modifying the
meaning of the data. |
interface |
DiscoverableTransformer
A interface to denote that a transformer is discoverable.
|
interface |
MessageTransformer
A transformer intended to transform Mule messages rather than arbitrary objects
|
| Modifier and Type | Method and Description |
|---|---|
Transformer |
TransformerException.getTransformer() |
Transformer |
MessageTransformerException.getTransformer() |
Transformer |
DataTypeConversionResolver.resolve(org.mule.runtime.api.metadata.DataType sourceType,
List<org.mule.runtime.api.metadata.DataType> targetDataTypes) |
| Constructor and Description |
|---|
MessageTransformerException(org.mule.runtime.api.i18n.I18nMessage message,
Transformer transformer) |
MessageTransformerException(org.mule.runtime.api.i18n.I18nMessage message,
Transformer transformer,
Throwable cause) |
MessageTransformerException(Transformer transformer,
Throwable cause) |
TransformerException(org.mule.runtime.api.i18n.I18nMessage message,
Transformer transformer) |
TransformerException(org.mule.runtime.api.i18n.I18nMessage message,
Transformer transformer,
Throwable cause) |
TransformerException(Transformer transformer,
Throwable cause) |
| Constructor and Description |
|---|
TransformerException(org.mule.runtime.api.i18n.I18nMessage message,
List<Transformer> transformers) |
TransformerException(org.mule.runtime.api.i18n.I18nMessage message,
List<Transformer> transformers,
Throwable cause) |
TransformerException(List<Transformer> transformers,
Throwable cause) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCompressionTransformer
AbstractCompressionTransformer is a base class for all transformers that can compress or uncompress data when they
performa message transformation. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SimpleRegistryBootstrap.doRegisterTransformer(TransformerBootstrapProperty bootstrapProperty,
Class<?> returnClass,
Class<? extends Transformer> transformerClass)
Deprecated.
|
protected abstract void |
AbstractRegistryBootstrap.doRegisterTransformer(TransformerBootstrapProperty bootstrapProperty,
Class<?> returnClass,
Class<? extends Transformer> transformerClass) |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.api.i18n.I18nMessage |
CoreMessages.transformerNotImplementDiscoverable(Transformer transformer) |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.api.i18n.I18nMessage |
CoreMessages.transformerNotImplementDiscoverable(Class<? extends Transformer> transformer) |
static org.mule.runtime.api.i18n.I18nMessage |
CoreMessages.transformHasMultipleMatches(Class<?> input,
Class<?> output,
List<? extends Transformer> transformers) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExpressionTransformer
This transformer will evaluate one or more expressions on the current message and return the results as an Array.
|
class |
BeanBuilderTransformer
This transformer uses the returnClass to create the return object and then will populate the bean with arguments defined as
expressions
|
class |
ExpressionTransformer
This transformer will evaluate one or more expressions on the current message and return the results as an Array.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Transformer> |
TypeBasedTransformerResolver.exactTransformerCache |
| Modifier and Type | Method and Description |
|---|---|
protected Transformer |
TypeBasedTransformerResolver.getNearestTransformerMatch(List<Transformer> trans,
Class input,
Class output) |
Transformer |
TypeBasedTransformerResolver.resolve(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeBasedTransformerResolver.transformerChange(Transformer transformer,
TransformerResolver.RegistryAction registryAction) |
| Modifier and Type | Method and Description |
|---|---|
protected Transformer |
TypeBasedTransformerResolver.getNearestTransformerMatch(List<Transformer> trans,
Class input,
Class output) |
| Modifier and Type | Method and Description |
|---|---|
Transformer |
DynamicDataTypeConversionResolver.resolve(org.mule.runtime.api.metadata.DataType sourceType,
List<org.mule.runtime.api.metadata.DataType> targetDataTypes) |
| Modifier and Type | Class and Description |
|---|---|
class |
XmlEntityDecoder
Decodes a String or byte[] containing XML entities
|
class |
XmlEntityEncoder
Encodes a string with XML entities
|
| Modifier and Type | Class and Description |
|---|---|
class |
GZipCompressTransformer
GZipCompressTransformer is a transformer compressing objects into byte arrays. |
class |
GZipUncompressTransformer
GZipCompressTransformer will uncompress a byte[] or InputStream |
| Modifier and Type | Class and Description |
|---|---|
class |
StringToCharsetTransformer
Converts strings to
Charset instances. |
class |
StringToMediaTypeTransformer
Converts strings to
MediaType instances. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEncryptionTransformer
EncryptionTransformer will transform an array of bytes or string into an encrypted array of bytes |
class |
DecryptionTransformer
EncryptionTransformer will transform an encrypted array of bytes or string into an decrypted array of bytes |
class |
EncryptionTransformer
EncryptionTransformer will transform an array of bytes or string into an encrypted array of bytes |
| Modifier and Type | Class and Description |
|---|---|
class |
CursorIteratorProviderToIterator
Transforms a
CursorIteratorProvider to an Iterator by getting a cursor from it |
class |
CursorStreamProviderToInputStream
Transforms a
CursorStreamProvider to an InputStream by getting a cursor from it |
class |
DataHandlerToInputStreamTransformer |
class |
InputStreamToByteArray
Transforms
input streams into byte arrays. |
class |
LocalDateToDate
|
class |
NumberToString
NumberToString converts a Number to a String. |
class |
ObjectToByteArray
ObjectToByteArray converts serilaizable object to a byte array but treats java.lang.String
differently by converting to bytes using the String.getBytes() method. |
class |
ObjectToInputStream
ObjectToInputStream converts Serializable objects to an InputStream but treats java.lang.String,
byte[] and org.mule.runtime.core.message.OutputHandler differently by using their byte[] content
rather thqn Serializing them. |
class |
ObjectToOutputHandler
ObjectToOutputHandler converts a byte array into a String. |
class |
ObjectToString
ObjectToString transformer is useful for debugging. |
class |
StringToBoolean
ByteArrayToSerializable converts a serialized object to its object representation |
class |
StringToNumber
StringToNumber converts a String to a Number. |
| Modifier and Type | Method and Description |
|---|---|
Transformer |
MuleRegistryHelper.lookupTransformer(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result)
Will find a transformer that is the closest match to the desired input and output.
|
Transformer |
MuleRegistryHelper.lookupTransformer(String name) |
protected Transformer |
MuleRegistryHelper.resolveTransformer(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result) |
| Modifier and Type | Method and Description |
|---|---|
List<Transformer> |
MuleRegistryHelper.lookupTransformers(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result)
This method will return a list of
Transformer objects that accept the given
input and return the given output type of object |
| Modifier and Type | Method and Description |
|---|---|
void |
MuleRegistryHelper.notifyTransformerResolvers(Transformer t,
TransformerResolver.RegistryAction action) |
void |
MuleRegistryHelper.registerTransformer(Transformer transformer) |
| Modifier and Type | Method and Description |
|---|---|
List<Transformer> |
FilteringOutboundRouter.getTransformers() |
| Modifier and Type | Method and Description |
|---|---|
void |
FilteringOutboundRouter.setTransformers(List<Transformer> transformers) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDiscoverableTransformer |
class |
AbstractMessageTransformer
AbstractMessageTransformer is a transformer that has a reference to the current message. |
class |
AbstractTransformer
AbstractTransformer is a base class for all transformers. |
class |
CompositeConverter
Composes many converters to behave as a single one.
|
class |
TransformerChain
A referencable chain of transformers that can be used as a single transformer
|
class |
TransformerTemplate
TODO
|
| Modifier and Type | Method and Description |
|---|---|
static Transformer |
TransformerUtils.firstOrNull(List<Transformer> transformers) |
Transformer |
TransformerWeighting.getTransformer() |
| Modifier and Type | Method and Description |
|---|---|
List<Transformer> |
TransformerChain.getTransformers() |
static List<Transformer> |
TransformerUtils.getTransformers(String names,
MuleContext muleContext)
Builds a list of Transformers.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TransformerUtils.checkTransformerReturnClass(Transformer transformer,
Object value)
Checks whether a given value is a valid output for a transformer.
|
| Modifier and Type | Method and Description |
|---|---|
static Transformer |
TransformerUtils.firstOrNull(List<Transformer> transformers) |
static String |
TransformerUtils.generateTransformerName(Class<? extends Transformer> transformerClass,
org.mule.runtime.api.metadata.DataType returnType) |
static void |
TransformerUtils.initialiseAllTransformers(List<Transformer> transformers)
Deprecated.
Transport infrastructure is deprecated.
|
static String |
TransformerUtils.toString(List<Transformer> transformers) |
| Constructor and Description |
|---|
TransformerChain(String name,
Transformer... transformers) |
TransformerChain(Transformer... transformers) |
TransformerWeighting(Class inputClass,
Class outputClass,
Transformer transformer) |
| Constructor and Description |
|---|
TransformerChain(List<Transformer> transformers) |
TransformerChain(String name,
List<Transformer> transformers) |
| Modifier and Type | Class and Description |
|---|---|
class |
Base64Decoder
Base64Encoder transforms Base64 encoded data into strings or byte arrays. |
class |
Base64Encoder
Base64Encoder transforms strings or byte arrays into Base64 encoded string. |
| Modifier and Type | Method and Description |
|---|---|
Transformer |
GraphTransformerResolver.resolve(org.mule.runtime.api.metadata.DataType source,
org.mule.runtime.api.metadata.DataType result) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphTransformerResolver.transformerChange(Transformer transformer,
TransformerResolver.RegistryAction registryAction) |
| Modifier and Type | Class and Description |
|---|---|
class |
AutoTransformer
A transformer that uses the transform discovery mechanism to convert the message payload.
|
class |
BeanToMap
Conversts a simple bean object to a Map.
|
class |
ByteArrayToHexString
Converts a Byte array to a Hex String.
|
class |
ByteArrayToMuleMessage
Deserializes a
Message stored on a byte array. |
class |
ByteArrayToObject
ByteArrayToObject works in the same way as ByteArrayToSerializable but checks if the byte array is a
serialised object and if not will return a String created from the bytes as the returnType on the transformer. |
class |
ByteArrayToSerializable
ByteArrayToSerializable converts a serialized object to its object representation |
class |
GetBeanProperty
Looks up a property from a JavaBean using PropertyUtils.getProperty().
|
class |
HexStringToByteArray
Converts a Hex String to a Byte array
|
class |
MapLookup
MapLookup looks up and returns an object from a Map based on a key. |
class |
MapToBean
Creates and object of type
getReturnDataType().getType() and populates values of a Map as bean
properties on the object. |
class |
MuleMessageToByteArray
Serializes a
Message into a byte array. |
class |
ObjectArrayToString
ObjectArrayToString transformer is the opposite of StringToObjectArray - it simply converts Object[] to a String
in which each element is separated by a configurable delimiter (default is a space). |
class |
ParseTemplateTransformer
Loads a template and parses its content to resolve expressions.
|
class |
PropertyEditorTextToValueTransformer
PropertyEditorTextToValueTransformer adapts a PropertyEditor instance allowing it to be used to transform
from a String to another type in Mule |
class |
PropertyEditorValueToTextTransformer
PropertyEditorValueToTextTransformer adapts a PropertyEditor instance allowing it to be used to transform
from a specific type to a String. |
class |
SerializableToByteArray
SerializableToByteArray converts a serializable object or a String to a byte array. |
class |
SetPayloadTransformer
Transformer that modifies the payload of the message according to the provided value.
|
class |
StringAppendTransformer |
class |
StringToEnum
|
class |
StringToObjectArray
StringToObjectArray converts a String into an object array. |
| Modifier and Type | Field and Description |
|---|---|
protected Transformer |
TransformerPairWireFormat.inboundTransformer |
protected Transformer |
TransformerPairWireFormat.outboundTransformer |
| Modifier and Type | Method and Description |
|---|---|
Transformer |
TransformerPairWireFormat.getInboundTransformer() |
Transformer |
TransformerPairWireFormat.getOutboundTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
TransformerPairWireFormat.setInboundTransformer(Transformer inboundTransformer) |
void |
TransformerPairWireFormat.setOutboundTransformer(Transformer outboundTransformer) |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.