if (addressArr.length > 0 && addressArr[0] != null) {
sb.append(">");
for (int ii=0; ii<addressArr.length; ii++) {
AddressBase ad = addressArr[ii];
sb.append(ad.toXml(extraOffset+Constants.INDENT));
}
sb.append(offset).append("</").append(getRootTagName()).append(">"); // closing </queue>
}
else
sb.append("/>");