Iterator it = list.iterator();
while(it.hasNext()) {
Element e = (Element) it.next();
String uri = e.getAttributeValue("uri");
Buddy buddy = store.getBuddyByUri(uri);
if(buddy!=null) {
BeanHelper.setValue(buddy, "relation", Relation.BUDDY); //之前是什么状态呢。。。 TODO ..先暂时设置为好友关系
context.getFetionStore().flushBuddy(buddy);
}
}