public class TransformerWeighting extends Object implements Comparable
Transformer
instance, an input class and output class
this object will create a weighting for a transformer. This weighthing can be used compare one transformer with
another, which can be useful for choosing a transformer to use given the input class and required output class.Constructor and Description |
---|
TransformerWeighting(Class inputClass,
Class outputClass,
Transformer transformer) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
Class |
getInputClass() |
int |
getInputWeighting() |
Class |
getOutputClass() |
int |
getOutputWeighting() |
Transformer |
getTransformer() |
protected int |
getWeighting(int weighting,
Class src,
Class dest) |
int |
hashCode() |
boolean |
isExactMatch() |
boolean |
isNotMatch() |
String |
toString() |
public TransformerWeighting(Class inputClass, Class outputClass, Transformer transformer)
public Class getInputClass()
public int getInputWeighting()
public Class getOutputClass()
public int getOutputWeighting()
public Transformer getTransformer()
public boolean isExactMatch()
public boolean isNotMatch()
public int compareTo(Object o)
compareTo
in interface Comparable
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.