18 package org.turro.registry;
20 import org.turro.string.Strings;
21 import org.turro.elephant.impl.util.StringParser;
22 import org.turro.html.*;
31 private Changes changes;
35 this.changes = changes ==
null ?
new Changes() : changes;
39 ChangeCategory last =
null;
40 changes.clearEquals();
41 html.
startTable(
"width='100%' style='width:100%'");
43 for(IChange c : changes) {
44 if(!c.getCategory().equals(last)) {
45 if(!Strings.isBlank(c.getCategory().getCaption())) {
46 last = c.getCategory();
47 html.
startTag(
"div",
" style='border-bottom: solid 1px #eeeeee;font-weight:bold; margin-top:10px;'")
48 .
write(c.getCategory().getCaption())
52 if(Strings.isBlank(c.getLabel()) && c.isOnlyNew()) {
56 }
else if(c.isOnlyNew()) {
static String toHTML(String value)
HTMLGenerator endAllTags()
HTMLGenerator write(String value)
HTMLGenerator startTag(String tag)
HTMLGenerator startTableCol(String attributes)
HTMLGenerator startTable(String attributes)