toXML method
Implementation
XMLNode toXML() {
String tag;
switch (this) {
case MessageProcessingHint.noPermanentStore:
tag = 'no-permanent-store';
break;
case MessageProcessingHint.noStore:
tag = 'no-store';
break;
case MessageProcessingHint.noCopies:
tag = 'no-copy';
break;
case MessageProcessingHint.store:
tag = 'store';
break;
}
return XMLNode.xmlns(
tag: tag,
xmlns: messageProcessingHintsXmlns,
);
}