Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1752447
  • 博文数量: 600
  • 博客积分: 10581
  • 博客等级: 上将
  • 技术积分: 6205
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-06 10:13
文章分类
文章存档

2016年(2)

2015年(9)

2014年(8)

2013年(5)

2012年(8)

2011年(36)

2010年(34)

2009年(451)

2008年(47)

分类: Java

2009-01-06 17:54:18

  
   
    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);
  }
阅读(1191) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~