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:
MuleContextAware, MuleContextNotificationListener<MuleContextNotification>, ServerNotificationListener<MuleContextNotification>, Disposable, Initialisable, 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
 
Constructor Summary
ChatStringToString()
           
 
Method Summary
 java.lang.Object doTransform(java.lang.Object src, java.lang.String encoding)
           
 
Methods inherited from class org.mule.transformer.AbstractTransformer
checkReturnClass, dispose, generateTransformerName, getEncoding, getEncoding, getEndpoint, getMimeType, getName, getReturnClass, getReturnDataType, getSourceDataTypes, getSourceTypes, initialise, isAcceptNull, isAllowNullReturn, isConsumed, isIgnoreBadInput, isSourceDataTypeSupported, isSourceDataTypeSupported, isSourceTypeSupported, isSourceTypeSupported, onNotification, process, registerSourceType, registerSourceType, setAllowNullReturn, 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 java.lang.Object doTransform(java.lang.Object src,
                                    java.lang.String encoding)
                             throws TransformerException
Specified by:
doTransform in class AbstractTransformer
Throws:
TransformerException


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