code: public static void addCssHeadlines(final PrintWriter writer, final List cssHeadlines) {
  		if (cssHeadlines == null || cssHeadlines.isEmpty()) {
  			return;
  		}
  
  		writer.write("<!-- Start css headlines -->"
  				+ "\n<style type=\"" + WebUtilities.CONTENT_TYPE_CSS + "\" media=\"screen\">");
  
  		for (Iterator iter = cssHeadlines.iterator(); iter.hasNext();) {
  			String line = (String) iter.next();
  			writer.write("\n" + line);
  		}
  
  		writer.write("\n</style>"
  				+ "<!-- End css headlines -->");
  	}
docs: Add a list of css headline entries intended to be added only once to the page.
  
  @param writer the writer to write to.
  @param cssHeadlines a list of css entries to be added to the page as a whole.