writer.writeAttribute("class", "aright", null);
writer.writeAttribute("align", "right", null);
    private void encodeLoadsAndCredits(CurricularPeriod curricularPeriod) throws IOException {        writer.startElement("td", this);        if (!this.curricularCourse.isOptional()) {            writer.writeAttribute("class", "smalltxt", null);            writer.writeAttribute("class", "aright", null);                        writer.startElement("span", this);            writer.writeAttribute("style", "color: #888", null);            writer.append(this.getBundleValue("BolonhaManagerResources", "contactLessonHoursAcronym")).append("-");            writer.endElement("span");            writer.append(this.curricularCourse.getContactLoad(curricularPeriod).toString()).append(" ");            writer.startElement("span", this);            writer.writeAttribute("style", "color: #888", null);            writer.append(this.getBundleValue("BolonhaManagerResources", "autonomousWorkAcronym")).append("-");            writer.endElement("span");            writer.append(this.curricularCourse.getAutonomousWorkHours(curricularPeriod).toString()).append(" ");                        writer.startElement("span", this);            writer.writeAttribute("style", "color: #888", null);            writer.append(this.getBundleValue("BolonhaManagerResources", "totalLoadAcronym")).append("-");            writer.endElement("span");            writer.append(this.curricularCourse.getTotalLoad(curricularPeriod).toString());            writer.endElement("td");            writer.startElement("td", this);            writer.writeAttribute("class", "smalltxt", null);            writer.writeAttribute("class", "aright", null);            writer.append(this.getBundleValue("BolonhaManagerResources", "credits.abbreviation")).append(" ");            writer.append(this.curricularCourse.getEctsCredits(curricularPeriod).toString());        } else {            writer.append("&nbsp;");            writer.endElement("td");            writer.startElement("td", this);        }        writer.endElement("td");    }