List<List<LiteFeatureTypeStyle>> txClassified = classifyByFeatureProduction(lfts);
@Override List<List<LiteFeatureTypeStyle>> classifyByFeatureProduction( final List<LiteFeatureTypeStyle> lfts) { // strip off a distributed rendering render transform because that is // what is currently being processed final List<List<LiteFeatureTypeStyle>> retVal = super.classifyByFeatureProduction(lfts); for (final List<LiteFeatureTypeStyle> featureTypeStyles : retVal) { final LiteFeatureTypeStyle transformLfts = featureTypeStyles.get(0); // there doesn't seem to be an easy way to check if its a // distributed render transform so for now let's just not allow // other rendering transformations when distributed rendering is // employed and strip all transformations if (transformLfts.transformation instanceof ProcessFunction) { if ((((ProcessFunction) transformLfts.transformation).getName() != null) && ((ProcessFunction) transformLfts.transformation).getName().equals( DistributedRenderProcess.PROCESS_NAME)) { transformLfts.transformation = null; } } } return retVal; }