org.mule.example.hello
Class NameStringToChatString

java.lang.Object
  extended by org.mule.transformer.AbstractTransformer
      extended by org.mule.example.hello.NameStringToChatString
All Implemented Interfaces:
Initialisable, NamedObject, BaseTransformer, Transformer

public class NameStringToChatString
extends AbstractTransformer

NameStringToChatString converts from a NameString object to a ChatString object.


Field Summary
 
Fields inherited from class org.mule.transformer.AbstractTransformer
DEFAULT_TRUNCATE_LENGTH, endpoint, logger, name, returnClass, sourceTypes
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
NameStringToChatString()
           
 
Method Summary
 Object doTransform(Object src, String encoding)
           
 
Methods inherited from class org.mule.transformer.AbstractTransformer
checkReturnClass, generateTransformerName, getEndpoint, getName, getReturnClass, getSourceTypes, initialise, isAcceptNull, isConsumed, isIgnoreBadInput, isSourceTypeSupported, isSourceTypeSupported, registerSourceType, setEndpoint, setIgnoreBadInput, setName, setReturnClass, toString, transform, unregisterSourceType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameStringToChatString

public NameStringToChatString()
Method Detail

doTransform

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


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.