org.mule.config.converters
Class TransformerConverter

java.lang.Object
  extended by org.mule.config.converters.TransformerConverter
All Implemented Interfaces:
Converter

public class TransformerConverter
extends Object
implements Converter

TransformerConverter will obtain a transformer name and convert it to a transformer instance by looking up the transformer from the MuleManager.


Constructor Summary
TransformerConverter()
           
 
Method Summary
 Object convert(Class type, Object value)
          Convert the specified input object into an output object of the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerConverter

public TransformerConverter()
Method Detail

convert

public Object convert(Class type,
                      Object value)
Convert the specified input object into an output object of the specified type.

Specified by:
convert in interface Converter
Parameters:
type - Data type to which this value should be converted
value - The input value to be converted
Throws:
ConversionException - if conversion cannot be performed successfully


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