private static void writeRow ( final PrintWriter writer , final UicStats . Stat stat ) { writer . print ( "<tr>" ) ; writer . print ( "<td>" + stat . getClassName ( ) + "</td>" ) ; writer . print ( "<td>" + stat . getModelStateAsString ( ) + "</td>" ) ; if ( stat . getSerializedSize ( ) > 0 ) { writer . print ( "<td>" + stat . getSerializedSize ( ) + "</td>" ) ; } else { writer . print ( "<td>&#160;</td>" ) ; } writer . print ( "<td>" + stat . getRef ( ) + "</td>" ) ; writer . print ( "<td>" + stat . getName ( ) + "</td>" ) ; if ( stat . getComment ( ) == null ) { writer . print ( "<td>&#160;</td>" ) ; } else { writer . print ( "<td>" + stat . getComment ( ) + "</td>" ) ; } writer . println ( "</tr>" ) ; }
Writes a row containing a single stat .