Changeset 203 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/events/CMSEvaluationEvent.java
- Timestamp:
- 02/01/2020 04:18:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/events/CMSEvaluationEvent.java
r76 r203 10 10 import scriptbuilder.structures.I_XML_Writable; 11 11 import scriptbuilder.structures.ScriptEvent; 12 import scriptbuilder.structures.XML Writer;12 import scriptbuilder.structures.XMLBuilder; 13 13 14 14 /** … … 66 66 public String toXML() 67 67 { 68 String output = XML Writer.openTag(ELEMENT.CMS_EVALUATION.tag + " cmsID=\"" + cmsID + "\" type=\"" + cmsType + "\"");69 output += XML Writer.simpleTag(location, ELEMENT.LOCATION);68 String output = XMLBuilder.openTag(ELEMENT.CMS_EVALUATION.tag + " cmsID=\"" + cmsID + "\" type=\"" + cmsType + "\""); 69 output += XMLBuilder.simpleTag(location, ELEMENT.LOCATION); 70 70 71 71 if (message.size() > 0) 72 72 { 73 output += XML Writer.openTag(ELEMENT.SAMPLE_MESSAGE.tag);73 output += XMLBuilder.openTag(ELEMENT.SAMPLE_MESSAGE.tag); 74 74 for (String str : message) 75 75 { … … 78 78 str = ""; 79 79 } 80 output += XML Writer.simpleTag(str, ELEMENT.CMS_LINE);80 output += XMLBuilder.simpleTag(str, ELEMENT.CMS_LINE); 81 81 } 82 output += XML Writer.closeTag(ELEMENT.SAMPLE_MESSAGE.tag);82 output += XMLBuilder.closeTag(ELEMENT.SAMPLE_MESSAGE.tag); 83 83 } 84 84 85 output += XML Writer.closeTag(ELEMENT.CMS_EVALUATION.tag);85 output += XMLBuilder.closeTag(ELEMENT.CMS_EVALUATION.tag); 86 86 87 87 return output;
Note: See TracChangeset
for help on using the changeset viewer.
