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