org.mule.example.hello
Class ChatStringToString

java.lang.Object
  extended by org.mule.transformer.AbstractTransformer
      extended by org.mule.example.hello.ChatStringToString
All Implemented Interfaces:
AnnotatedObject, MuleContextAware, Disposable, Initialisable, NameableObject, NamedObject, MessageProcessor, Transformer, EndpointAware

public class ChatStringToString
extends AbstractTransformer

NameStringToChatString is a dummy transformer used in the hello world application to transform the ChatString object into a string.


Field Summary
 
Fields inherited from class org.mule.transformer.AbstractTransformer
encoding, endpoint, logger, mimeType, MULE_MESSAGE_DATA_TYPE, muleContext, name, returnType, sourceTypes
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
ChatStringToString()
           
 
Method Summary
 Object doTransform(Object src, String outputEncoding)
           
 
Methods inherited from class org.mule.transformer.AbstractTransformer
dispose, generateTransformerName, getAnnotation, getAnnotations, getEncoding, getEncoding, getEndpoint, getMimeType, getName, getReturnClass, getReturnDataType, getSourceDataTypes, getSourceTypes, initialise, isAcceptNull, isAllowNullReturn, isConsumed, isIgnoreBadInput, isSourceDataTypeSupported, isSourceDataTypeSupported, isSourceTypeSupported, isSourceTypeSupported, process, registerSourceType, registerSourceType, setAllowNullReturn, setAnnotations, setEncoding, setEndpoint, setIgnoreBadInput, setMimeType, setMuleContext, setName, setReturnClass, setReturnDataType, toString, transform, transform, unregisterSourceType, unregisterSourceType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChatStringToString

public ChatStringToString()
Method Detail

doTransform

public Object doTransform(Object src,
                          String outputEncoding)
                   throws TransformerException
Specified by:
doTransform in class AbstractTransformer
Throws:
TransformerException


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