@Test public void testWrap() { assertEquals("<tr>This is a test</tr>", BaleenJavadoc.wrapWithTag(TR, TEXT, null)); assertEquals("<tr style=\"\">This is a test</tr>", BaleenJavadoc.wrapWithTag(TR, TEXT, "")); assertEquals( "<tr style=\"padding-right: 20px\">This is a test</tr>", BaleenJavadoc.wrapWithTag(TR, TEXT, "padding-right: 20px")); }
protected static String wrapWithTag(String tag, Object content, String style) { return "<" + tag + (style != null ? " style=\"" + style + "\"" : "") + ">" + content + "</" + tag + ">"; }
BaleenJavadoc extends AbstractBaleenTaglet { protected static String wrapWithTag(String tag, Object content, String style) { return "<" + tag + (style != null ? " style=\"" + style + "\"" : "") + ">" + content + "</" + tag + ">"; } }
BaleenJavadoc extends AbstractBaleenTaglet { protected static String wrapWithTag(String tag, Object content, String style) { return "<" + tag + (style != null ? " style=\"" + style + "\"" : "") + ">" + content + "</" + tag + ">"; }  }
BaleenJavadoc extends AbstractBaleenTaglet { protected static String wrapWithTag(String tag, Object content, String style) { return "<" + tag + (style != null ? " style=\"" + style + "\"" : "") + ">" + content + "</" + tag + ">"; }  @Override String getName(); @Override Set<Location> getAllowedLocations(); @Override String toString(List<? extends DocTree> list, Element element); }
BaleenJavadoc extends AbstractBaleenTaglet { protected static String wrapWithTag(String tag, Object content, String style) { return "<" + tag + (style != null ? " style=\"" + style + "\"" : "") + ">" + content + "</" + tag + ">"; }  @Override String getName(); @Override Set<Location> getAllowedLocations(); @Override String toString(List<? extends DocTree> list, Element element); static final String NAME; }