Merge "Add TH element support to SafeHtmlBuilder"

This commit is contained in:
Edwin Kempin
2013-07-08 19:06:48 +00:00
committed by Gerrit Code Review

View File

@@ -318,6 +318,16 @@ public class SafeHtmlBuilder extends SafeHtml {
return closeElement("td");
}
/** Append "<th>"; attributes may be set if needed */
public SafeHtmlBuilder openTh() {
return openElement("th");
}
/** Append "</th>" */
public SafeHtmlBuilder closeTh() {
return closeElement("th");
}
/** Append "<div>"; attributes may be set if needed */
public SafeHtmlBuilder openDiv() {
return openElement("div");