public class Factory {
private static RangeProcessor getProcessor(ColRowRange range,
RangeProcessor parent, long originalPosition) throws ReportException {
if(range instanceof ColRowRangeGeneric) {
return new GenericProcessor(parent, (ColRowRangeGeneric)range, originalPosition);
}
if(range instanceof ColRowRangeGroup) {
return new GroupProcessor(parent, (ColRowRangeGroup)range, originalPosition);
}
if(range instanceof ColRowRangeCrossReport) {