code: static RosterPacket.Item toRosterItem(RosterEntry entry) {
          return toRosterItem(entry, entry.getName(), false);
      }
docs: Convert the RosterEntry to a Roster stanza &lt;item/&gt; element.
  
  @param entry the roster entry.
  @return the roster item.