org.mule.config.converters
Class TransformerConverter

java.lang.Object
  extended byorg.mule.config.converters.TransformerConverter

public class TransformerConverter
extends java.lang.Object

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

Version:
$Revision: 1.2 $
Author:
Ross Mason

Constructor Summary
TransformerConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.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 java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value)
Convert the specified input object into an output object of the specified type.

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-2005 SymphonySoft Limited. All Rights Reserved.