1 package okw.log.log2html;
8 private String categoryName =
"";
11 private String categoryType =
"";
14 private String choiceValue =
"";
17 private String featureName =
"";
20 private String localCategoryName =
"";
23 private String sourceExcerpt =
"";
26 private String type =
"";
30 private String result =
"";
34 String choiceValue, String featureName,
35 String localCategoryName, String sourceExcerpt,
41 this.categoryName = categoryName;
42 this.categoryType = categoryType;
43 this.choiceValue = choiceValue;
44 this.featureName = featureName;
45 this.localCategoryName = localCategoryName;
46 this.sourceExcerpt = sourceExcerpt;
55 protected void ErrorCount()
63 if ( myParent !=
null)
65 myParent.ErrorCount();
71 protected void ExceptionCount()
77 this.bException =
true;
79 if ( myParent !=
null)
81 myParent.ExceptionCount();
85 protected void StepFail()
87 if ( ! (this.bError || this.bException ) )
93 protected String getJSONNodeProperties()
95 StringBuilder myJSON =
new StringBuilder();
97 myJSON.append( this.jsonElementComma(
"type", this.type ) );
98 myJSON.append( this.jsonElementComma(
"categoryName", this.categoryName ) );
99 myJSON.append( this.jsonElementComma(
"categoryType", this.categoryType ) );
100 myJSON.append( this.jsonElementComma(
"choiceValue", this.choiceValue ) );
101 myJSON.append( this.jsonElementComma(
"featureName", this.featureName ) );
102 myJSON.append( this.jsonElementComma(
"localCategoryName", this.localCategoryName ) );
103 myJSON.append( this.jsonElementComma(
"sourceExcerpt", this.sourceExcerpt ) );
104 myJSON.append( this.jsonElementComma(
"result", this.result ) );
106 return myJSON.toString();