1 package okw.log.log2html;
5 private String type =
"Keyword";
6 private String Keyword;
7 private String[] Parameter;
15 Parameter = fpsParameter;
20 StringBuilder StrBuilder =
new StringBuilder();
22 StrBuilder.append( fpsKeyword +
": " );
24 if ( fpsParameter.length == 2 )
26 StrBuilder.append(
"'" + fpsParameter[0] +
"' = '" + fpsParameter[1] +
"'" );
30 for ( String sParameter : fpsParameter )
32 StrBuilder.append(
" '" + sParameter +
"'" );
36 this.Info = StrBuilder.toString();
40 protected String getJSONNodeProperties()
42 StringBuilder myJSON =
new StringBuilder();
44 myJSON.append( this.jsonElementComma(
"type", this.type ) );
45 myJSON.append( this.jsonElementComma(
"info", this.Info ) );
46 myJSON.append( this.jsonElementComma(
"Keyword", this.Keyword ) );
48 for ( Integer i = 0; i < Parameter.length; i++) {
50 myJSON.append( this.jsonElementComma(
"Parameter" + i.toString(), Parameter[i] ) );
52 return myJSON.toString();
57 protected void ErrorCount()
65 if ( myParent !=
null)
67 myParent.ErrorCount();
73 protected void ExceptionCount()
79 this.bException =
true;
81 if ( myParent !=
null)
83 myParent.ExceptionCount();