public Style load(final MfClientHttpRequestFactory requestFactory,
final T featureSource,
final MapfishMapContext mapContext) {
final StyleParser parser = AbstractGridCoverageLayerPlugin.this.styleParser;
return template.getStyle(styleRef, mapContext)
.or(parser.loadStyle(template.getConfiguration(), requestFactory, styleRef, mapContext))
.or(template.getConfiguration().getDefaultStyle(NAME));
}
};
}