}
public Style createDefaultStyle() {
StyleFactory styleFactory = CommonFactoryFinder.getStyleFactory(GeoTools.getDefaultHints());
StyleBuilder styleBuilder = new StyleBuilder(styleFactory);
RasterSymbolizer rasterSymbolizer = styleFactory.createRasterSymbolizer();
Rule rule = styleFactory.createRule();
rule.setSymbolizers(new Symbolizer[]{ rasterSymbolizer });
Style style = styleBuilder.createStyle();
SLDContentManager sldContentManager = new SLDContentManager(styleBuilder, style);
sldContentManager.addSymbolizer(rasterSymbolizer);