1 package okw.log.log2html;
3 import org.apache.commons.text.StringEscapeUtils;
12 this.setParent(fpParent);
17 protected String getHTMLResult()
19 StringBuilder sbResult =
new StringBuilder();
21 String lvsIndention = this.getLevelIndention();
23 sbResult.append( lvsIndention + myIndentionBase +
"<p class='LogWarning'>" + StringEscapeUtils.escapeHtml4(
this.Info) +
"</p>\n" );
25 return sbResult.toString();
29 protected String getJSONResult()
31 StringBuilder myJSON =
new StringBuilder();
33 myJSON.append( this.jsonElement(
"Warning", this.Info ) );
35 return myJSON.toString();
38 protected void SetFail()
42 protected void SetPass()