org.apache.tuscany.sca.databinding
Interface PullTransformer<S,R>

Type Parameters:
S - The source data type
R - the target data type
All Superinterfaces:
Transformer

public interface PullTransformer<S,R>
extends Transformer

PullTransformer transforms data from one binding format to the other one which can be directly consumed


Method Summary
 R transform(S source, TransformationContext context)
          Transform source data into the result type.
 
Methods inherited from interface org.apache.tuscany.sca.databinding.Transformer
getSourceDataBinding, getTargetDataBinding, getWeight
 

Method Detail

transform

R transform(S source,
            TransformationContext context)
Transform source data into the result type.

Parameters:
source - The source data
context - The context for the transformation
Returns:
The transformed result