sbuf.append("</tr>").append("\n");
for (int i = 0; i < tab.length; i++)
{
AlarmTableNotification atn = tab[i];
Notification n = (Notification)atn.getUserData();
Object source = AlarmNotification.getEffectiveSource(n);
sbuf.append("<tr>");
sbuf.append("<td>")
.append("alarmId: ").append(atn.getAlarmId()).append("<br><br>")
.append("severity: ").append(AlarmHelper.getSeverityAsString(atn.getSeverity())).append("<br>")
.append("alarmState: ").append(AlarmHelper.getStateAsString(atn.getAlarmState())).append("<br><br>")
.append("ackState: ").append(atn.getAckState()).append("<br><br>")
.append("ackTime: ").append(atn.getAckTime()).append("<br>")
.append("ackUser: ").append(atn.getAckUser()).append("<br>")
.append("ackSystem: ").append(atn.getAckSystem()).append("</td>");
sbuf.append("<td>")
.append("source: ").append(source).append("<br>")
.append("type: ").append(n.getType()).append("<br>")
.append("timeStamp: ").append(n.getTimeStamp()).append("<br>")
.append("sequenceNumber: ").append(n.getSequenceNumber()).append("<br><br>")
.append("message: ").append(substNewLines(n.getMessage())).append("<br><br>")
.append("userData: ").append(substNewLines(n.getUserData())).append("</td>");
sbuf.append("</tr>").append("\n");
}
sbuf.append("</table>").append("\n");
return sbuf.toString();