toXML method

  1. @override
String toXML()
override

Implementation

@override
String toXML() {
  return '''<?xml version="1.0"?>
<cupps xmlns="http://www.cupps.aero/cupps/01.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" messageID="$messageID"
messageName="notify">
<notify>
  <messageIDErrorEvent errorType="messageIDSequenceError"></messageIDErrorEvent>
</notify>
</cupps>'''
      .replaceAll("\n", "")
      .replaceAll("\t", "")
      .replaceAll("  ", "");
}