/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package scriptbuilder.structures.events; import scriptbuilder.structures.ELEMENT; import scriptbuilder.structures.I_XML_Writable; import scriptbuilder.structures.ScriptEvent; import scriptbuilder.structures.XMLBuilder; /** * Data model for a TMT Radio event. A TMT radio transmission has a string * message. * * @author Bryan McGuffin */ public class TMTRadioEvent extends ScriptEvent implements I_XML_Writable { /** * Constructor. */ public TMTRadioEvent() { super(ScriptEventType.TMT_RADIO_EVENT); } public String message = ""; @Override public String toXML() { String output = XMLBuilder.simpleTag(message, ELEMENT.TMT_RADIO); return output; } }