src/net/java/sip/communicator/impl/protocol/jabber/OperationSetPersistentPresenceJabberImpl.java
/**
     * Creates and returns a unresolved contact from the specified
     * <tt>address</tt> and <tt>persistentData</tt>.
     *
     * @param address an identifier of the contact that we'll be creating.
     * @param persistentData a String returned Contact's getPersistentData()
     *   method during a previous run and that has been persistently stored
     *   locally.
     * @param parentGroup the group where the unresolved contact is supposed
     *   to belong to.
     * @return the unresolved <tt>Contact</tt> created from the specified
     *   <tt>address</tt> and <tt>persistentData</tt>
     */
Creates and returns a unresolved contact from the specified
address and persistentData.

@param address an identifier of the contact that we'll be creating.
@param persistentData a String returned Contact's getPersistentData()
method during a previous run and that has been persistently stored
locally.
@param parentGroup the group where the unresolved contact is supposed
to belong to.
@return the unresolved Contact created from the specified
address and persistentData
Creates and returns a unresolved contact from the specified address and persistentData . @param address an identifier of the contact that we ' ll be creating . @param persistentData a String returned Contact ' s getPersistentData () method during a previous run and that has been persistently stored locally . @param parentGroup the group where the unresolved contact is supposed to belong to . @return the unresolved Contact created from the specified address and persistentData
public Contact createUnresolvedContact(String address,
                                           String persistentData,
                                           ContactGroup parentGroup)
    {
        if(! (parentGroup instanceof ContactGroupJabberImpl ||
              parentGroup instanceof RootContactGroupJabberImpl) )
            throw new IllegalArgumentException(
                "Argument is not an jabber contact group (group="
                + parentGroup + ")");
        try
        {
            return ssContactList.createUnresolvedContact(
                    parentGroup,
                    JidCreate.from(address));
        }
        catch (XmppStringprepException e)
        {
            throw new IllegalArgumentException("Invalid JID", e);
        }
    }
public Contact createUnresolvedContact ( String address , String persistentData , ContactGroup parentGroup ) { if ( ! ( parentGroup instanceof ContactGroupJabberImpl || parentGroup instanceof RootContactGroupJabberImpl ) ) throw new IllegalArgumentException ( "Argument is not an jabber contact group (group=" + parentGroup + ")" ) ; try { return ssContactList . createUnresolvedContact ( parentGroup , JidCreate . from ( address ) ) ; } catch ( XmppStringprepException e ) { throw new IllegalArgumentException ( "Invalid JID" , e ) ; } }
Creates and returns a unresolved contact from the specified
 <tt>address</tt> and <tt>persistentData</tt>.
Creates and returns a unresolved contact from the specified <tt > address< / tt > and <tt > persistentData< / tt > .