@Override protected void insertText(final String text,final NotificationType type){
  final StringBuilder sbuf=new StringBuilder();
  sbuf.append("<span class='");
  sbuf.append(type.getMnemonic());
  sbuf.append("'>");
  sbuf.append(translateToHTML(text));
  sbuf.append("</span>");
  appendString(sbuf.toString());
}

@ Override protected void insertText ( final String text , final NotificationType type ) { final StringBuilder sbuf = new StringBuilder ( ) ; sbuf . append ( "<span class='" ) ; sbuf . append ( type . getMnemonic ( ) ) ; sbuf . append ( "'>" ) ; sbuf . append ( translateToHTML ( text ) ) ; sbuf . append ( "</span>" ) ; appendString ( sbuf . toString ( ) ) ; }
insert the text portion of the line using a specified notification type for style .
