rw = new XhtmlResponseWriter(writer, contentType, characterEncoding);
}
else
{
assert _HTML_MIME_TYPE.equals(contentType);
rw = new HtmlResponseWriter(writer, characterEncoding);
}
RenderingContext rc = RenderingContext.getCurrentInstance();
if (rc == null)
{