* @param context optional tweaks that the consumer of the transform would like
*/
public Object transform( int from, int to, Object input, Map<String, Object> context ) {
if ( (from < 0 ) || (to > transformsList.size() || to <= from ) ) {
throw new TransformException( "JOLT Chainr : invalid from and to parameters : from=" + from + " to=" + to );
}
return doTransform( transformsList.subList( from, to ), contextualTransformList.subList( from, to ), input, context );
}