protocolConfiguration.getExtractorConfiguration();
StyledDOMStyleAttributeRenderer rewriter =
factory.createRenderer(configuration,extractorContext);
rewriter.renderStyleAttributes(document);
// Convert marked element nodes to text nodes just before document is written out.
transformMarkedElementsToText();
setResponseCacheHeaders();