writer.writeAttribute("colspan", (this.toEdit && !this.showRules) ? 3 : 5, null);
writer.writeAttribute("colspan", (this.toEdit) ? 3 : 5, null);
    private void encodeHeader(CurricularPeriod curricularPeriod) throws IOException {        writer.startElement("tr", this);        writer.writeAttribute("class", "bgcolor2", null);                writer.startElement("th", this);        writer.writeAttribute("colspan", (this.toEdit && !this.showRules) ? 3 : 5, null);        writer.startElement("strong", this);        writer.append(curricularPeriod.getFullLabel());        writer.endElement("strong");        writer.endElement("th");        if (this.toEdit && !this.showRules) {            encodeCourseGroupOptions(curricularPeriod);            }        writer.endElement("tr");    }