item.addElement("target_domain").setText(domain); item.addElement("caller_alias").setText(alias);
item.addElement("domain").setText(domain); item.addElement("alias").setText(alias);
    private Element addItem(Element items, String domain, String alias, String identity) {        if (StringUtils.isEmpty(alias)) {            // nothing to add            return null;        }        Element item = addItem(items);        if (identity != null) {            item.addElement("identity").setText(identity);        }        item.addElement("target_domain").setText(domain);        item.addElement("caller_alias").setText(alias);        return item;    }