org.mule.transformer.graph
Class TransformationGraphLookupStrategy

java.lang.Object
  extended by org.mule.transformer.graph.TransformationGraphLookupStrategy

public class TransformationGraphLookupStrategy
extends Object

Looks for available conversion paths inside a transformation graph.


Field Summary
protected  Log logger
           
 
Constructor Summary
TransformationGraphLookupStrategy(org.jgrapht.DirectedGraph<DataType<?>,org.mule.transformer.graph.TransformationEdge> graph)
           
 
Method Summary
 List<Converter> lookupConverters(DataType<?> source, DataType<?> target)
          Looks for Converter to convert from the source to the target data types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger
Constructor Detail

TransformationGraphLookupStrategy

public TransformationGraphLookupStrategy(org.jgrapht.DirectedGraph<DataType<?>,org.mule.transformer.graph.TransformationEdge> graph)
Method Detail

lookupConverters

public List<Converter> lookupConverters(DataType<?> source,
                                        DataType<?> target)
Looks for Converter to convert from the source to the target data types.

Parameters:
source - data type to be converted
target - data type to be converted to
Returns:
a list of Converter that are able to convert from the source to the target data types.


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