org.apache.tuscany.sca.databinding
Interface PullTransformer<S,R>
- Type Parameters:
S
- The source data typeR
- 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
transform
R transform(S source,
TransformationContext context)
- Transform source data into the result type.
- Parameters:
source
- The source datacontext
- The context for the transformation
- Returns:
- The transformed result