@Override public void render(Renderer r) throws IOException { r.print("<tr"); if (mId != null) { r.print(" id=\"" + mId + "\""); } if (mStyle != null) { r.print(" class=\"" + mStyle + "\""); } r.println(">"); super.render(r); r.println("</tr>"); }
@Override public void render(Renderer r) throws IOException { r.print("<td"); if (mStyle != null) { r.print(" class=\""); r.print(mStyle); r.print("\""); } if (mHint != null) { r.print(" title=\""); r.print(mHint); r.print("\""); } r.print(">"); if (mText != null) { r.print(mText); } else { super.render(r); } r.print("</td>"); }