Changeset 203 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/Location_Info.java
- Timestamp:
- 02/01/2020 04:18:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/Location_Info.java
r46 r203 21 21 public String toXML() 22 22 { 23 String output = XML Writer.openTag(ELEMENT.LOCATION_INFO.tag + " ID=\"" + Location_ID + "\"");23 String output = XMLBuilder.openTag(ELEMENT.LOCATION_INFO.tag + " ID=\"" + Location_ID + "\""); 24 24 25 output += XML Writer.simpleTag(Route, ELEMENT.Route);25 output += XMLBuilder.simpleTag(Route, ELEMENT.Route); 26 26 27 output += XML Writer.simpleTag(Direction, ELEMENT.Direction);27 output += XMLBuilder.simpleTag(Direction, ELEMENT.Direction); 28 28 29 output += XML Writer.simpleTag(Postmile, ELEMENT.Postmile);29 output += XMLBuilder.simpleTag(Postmile, ELEMENT.Postmile); 30 30 31 output += XML Writer.simpleTag(Location_type, ELEMENT.Location_type);31 output += XMLBuilder.simpleTag(Location_type, ELEMENT.Location_type); 32 32 33 output += XML Writer.closeTag(ELEMENT.LOCATION_INFO.tag);33 output += XMLBuilder.closeTag(ELEMENT.LOCATION_INFO.tag); 34 34 35 35 return output;
Note: See TracChangeset
for help on using the changeset viewer.
