1 package okw.log.log2html;
3 import org.apache.commons.text.StringEscapeUtils;
12 this.setParent(fpParent);
16 protected String getHTMLResult()
18 StringBuilder sbResult =
new StringBuilder();
20 String lvsIndention = this.getLevelIndention();
22 sbResult.append( lvsIndention + myIndentionBase +
"<p class='LogPrintDebug'>" + StringEscapeUtils.escapeHtml4(
this.Info) +
"</p>\n" );
24 return sbResult.toString();
28 protected String getJSONResult()
30 StringBuilder myJSON =
new StringBuilder();
32 myJSON.append( this.jsonElement(
"PrintDebug", this.Info ) );
34 return myJSON.toString();
38 protected void SetFail()
43 protected void SetPass()