code: @Override
  	public void writeHeader(final PrintWriter writer) {
  		UIContext uic = UIContextHolder.getCurrent();
  		addHeadlines(writer, uic.getHeaders().getHeadLines());
  		addJsHeadlines(writer, uic.getHeaders().getHeadLines(Headers.JAVASCRIPT_HEADLINE));
  		addCssHeadlines(writer, uic.getHeaders().getHeadLines(Headers.CSS_HEADLINE));
  	}
docs: {@inheritDoc}