private static String paragraphToHtml(Paragraph p){
  return contentElementToHtml(p,"Paragraph","Paragraph: " + p.getType());
}

private static String paragraphToHtml ( Paragraph p ) { return contentElementToHtml ( p , "Paragraph" , "Paragraph: " + p . getType ( ) ) ; }
generates html output for a paragraph .
