ResponseWriter writer, UIComponent uiComponent,
UIComponent facet, String headerStyleClass, int colspan)
throws IOException {
if (uiComponent instanceof HtmlColumn) {
HtmlColumn column = (HtmlColumn) uiComponent;
if (amISpannedOver("header", uiComponent)) {
return;
}
writer.startElement(determineHeaderCellTag(facesContext, uiComponent.getParent()), uiComponent);
String columnId = column.getColumnId();
if (columnId != null)
{
writer.writeAttribute(HTML.ID_ATTR, columnId, null);
}