xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
Iterator iter = listPrivilege.iterator();
while (iter.hasNext()) {
Element privilegeEle = (Element) iter.next();
ExchangePrivilegesInfo ExchangePrivilegesInfoes = new ExchangePrivilegesInfo();
String contactCardId = privilegeEle.attributeValue("contactCardId");
String allowed = privilegeEle.attributeValue("allowed");
String contactName = privilegeEle.attributeValue("contactName");
ExchangePrivilegesInfoes.setContactName(contactName);
ExchangePrivilegesInfoes.setAllowed(allowed);
ExchangePrivilegesInfoes.setContactCardId(contactCardId);
Iterator iterator = privilegeEle.elementIterator("FoneNum");
List foneNumList = new ArrayList();
while (iterator.hasNext())
{
Element foneNumElement=(Element)iterator.next();
String foneNum = foneNumElement.getText();
foneNumList.add(foneNum);
}
ExchangePrivilegesInfoes.setFoneNum(foneNumList);
exchangeSetting
.addExchangePrivilegesInfoes(ExchangePrivilegesInfoes);
}
阅读(1251) | 评论(0) | 转发(0) |