public void setBody(final String msg) { if (msg != null) { final IPacket body = addChild("body", null); body.setText(msg); } }