// todo better detect empty style sheet here and avoid rendering,
// and also remove dubious check for empty in renderStyleSheet?
MarinerRequestContext requestContext =
marinerPageContext.getRequestContext();
com.volantis.mcs.css.renderer.RendererContext runtimeCSSRendererContext =
new RuntimeRendererContext(cssStringWriter,
renderer, this,
getProtocolConfiguration().getCssVersion());
renderer.renderStyleSheet(styleSheet,
runtimeCSSRendererContext);
final String css = cssStringWriter.getBuffer().toString();