private XmppContactStatus status;
private Subscription subscription;
public static XmppContact fromXml(Element e)
{
XmppID jid = XmppID.parseId(e.getAttribute("jid"));
String subscription = e.getAttribute("subscription");
String name = e.getAttribute("name");
ArrayList<String> groups = XMLHelper.getSubTagsConents(e, "group");
return new XmppContact(jid,Subscription.valueOf(subscription),name,groups);