&& inputParameters.containsName(ParameterNames.LEFT_X)
&& inputParameters.containsName(ParameterNames.TOP_Y)
&& inputParameters.containsName(ParameterNames.BOTTOM_Y)) {
// Rewrite them as-is, since no conversion is needed.
Transformation transformation = new Transformation();
transformation.setType("Cropping");
transformation.addAttribute("top",
getParameterValue(ParameterNames.TOP_Y));
transformation.addAttribute("bottom",
getParameterValue(ParameterNames.BOTTOM_Y));
transformation.addAttribute("right",
getParameterValue(ParameterNames.RIGHT_X));
transformation.addAttribute("left",
getParameterValue(ParameterNames.LEFT_X));
transformations.addTransformation(transformation);
}
}