strBuffer.append(getMessageResource(pageContext, "label.years"));
strBuffer.append(getMessageResource(pageContext, "public.degree.information.label.years"));
	public StringBuffer render(Locale locale, PageContext pageContext) {		StringBuffer strBuffer = new StringBuffer("");				// Generate maps for the specified years.//        ResourceBundle bundle = ResourceBundle//            .getBundle("ServidorApresentacao.PublicDegreeInformation",locale);		int numberOfCurricularYearsToDisplay = this.examsMap.getCurricularYears().size();		for (int i = 0; i < numberOfCurricularYearsToDisplay; i++) {			Integer year1 = (Integer) this.examsMap.getCurricularYears().get(i);			Integer year2 = null;			if (i + 1 < numberOfCurricularYearsToDisplay					&& year1.intValue() + 1 == ((Integer) this.examsMap.getCurricularYears().get(i + 1))					.intValue()) {				year2 = (Integer) this.examsMap.getCurricularYears().get(i + 1);								i++;			}						strBuffer.append("<table class='examMapContainer' cellspacing='0' cellpadding='3' width='95%'>");			strBuffer.append("<tr>");						// Generate Exam Map						strBuffer.append("<td>");			if (!mapType.equals("DegreeAndYear")) {				// PRINT EXECUTION DEGREE				if (user.equals("sop")) {					strBuffer.append("<strong>"							+ examsMap.getInfoExecutionDegree().getInfoDegreeCurricularPlan().getName()							+ "</strong><br/>");				}				if (year2 == null) {                    strBuffer.append("<h2>");                    strBuffer.append(getMessageResource(pageContext, "label.year"));                    strBuffer.append(" ");					strBuffer.append(year1);                    strBuffer.append("</h2>");				} else {                    strBuffer.append("<h2>");                    strBuffer.append(getMessageResource(pageContext, "label.years"));                    strBuffer.append(" ");					strBuffer.append(year1);                    strBuffer.append(" ");					strBuffer.append(getMessageResource(pageContext, "label.and"));                    strBuffer.append(" ");                    strBuffer.append(year2);                    strBuffer.append("</h2>");				}								renderExamsMapForFilteredYears(strBuffer, year1, year2,pageContext);			}			strBuffer.append("</td>");			strBuffer.append("</tr>");			strBuffer.append("<tr>");						// Generate Exam Map Side Lable			strBuffer.append("<td class='courseList'>");			if (mapType.equals("DegreeAndYear")) {				strBuffer.append("<h2>");                strBuffer.append(getMessageResource(pageContext, "label.examsCalendar"));                strBuffer.append("</h2><br />");				renderExamsExecutionCourseTableForYear(strBuffer, year1, pageContext);			} else {				renderExecutionCourseListForYear(strBuffer, year1, pageContext);			}						if (year2 != null) {				strBuffer.append("</td>");				strBuffer.append("</tr>");				strBuffer.append("<tr>");				strBuffer.append("<td class='courseList'>");				strBuffer.append("<br style='page-break-before:always;' />");				if (mapType.equals("DegreeAndYear")) {                    strBuffer.append("<h2>");                    strBuffer.append(getMessageResource(pageContext, "label.examsCalendar"));                    strBuffer.append("</h2><br />");					renderExamsExecutionCourseTableForYear(strBuffer, year2,pageContext);				} else {					renderExecutionCourseListForYear(strBuffer, year2,pageContext);				}				strBuffer.append("</td>");				strBuffer.append("</tr>");				strBuffer.append("</table>");				strBuffer.append("<br style='page-break-before:always;' />");								if ( (i < numberOfCurricularYearsToDisplay - 1) && user.equals("sop") ) {					strBuffer.append("<br />");					strBuffer.append("<br />");				}			} else {				strBuffer.append("</td>");				strBuffer.append("</tr>");				strBuffer.append("</table>");			}		}		return strBuffer;	}