org.mule.transformer.graph
Class PriorityWeightingConverterFilter

java.lang.Object
  extended by org.mule.transformer.graph.PriorityWeightingConverterFilter
All Implemented Interfaces:
ConverterFilter

public class PriorityWeightingConverterFilter
extends Object
implements ConverterFilter

Filters a list of Converter returning a new list containing only the converters with the highest priority weighting.


Constructor Summary
PriorityWeightingConverterFilter()
           
 
Method Summary
 List<Converter> filter(List<Converter> converters, DataType<?> source, DataType<?> result)
          Filters a list of converters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriorityWeightingConverterFilter

public PriorityWeightingConverterFilter()
Method Detail

filter

public List<Converter> filter(List<Converter> converters,
                              DataType<?> source,
                              DataType<?> result)
Description copied from interface: ConverterFilter
Filters a list of converters

Specified by:
filter in interface ConverterFilter
Parameters:
converters - converters to filter
source - source data type being resolved
result - result data type being resolved
Returns:
a non null list of converters that match the specified criteria


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