private Element produceMsg(Boolean object, Element parent) throws JDOMException {
// ----------------------
// Create the Boolean element ...
// ----------------------
Element booleanElement = new Element(TagNames.Elements.BOOLEAN);
if ( object.booleanValue() == true ) {
booleanElement.setText(TagNames.Values.TRUE);
} else {
booleanElement.setText(TagNames.Values.FALSE);
}
if ( parent != null ) {
booleanElement = parent.addContent(booleanElement);
}