com.caucho.xmpp.im
Class RosterItem

java.lang.Object
  extended by com.caucho.xmpp.im.RosterItem
All Implemented Interfaces:
java.io.Serializable

public class RosterItem
extends java.lang.Object
implements java.io.Serializable

Roster query (jabber:iq:roster defined in rfc3921)

 element query {
   item*
 }

 element item {
   address,
   ask?,
   name?,
   subscription?,
   group*
 }
 

See Also:
Serialized Form

Constructor Summary
RosterItem(java.lang.String address, java.lang.String[] group)
           
RosterItem(java.lang.String ask, java.lang.String address, java.lang.String name, java.lang.String subscription, java.util.ArrayList<java.lang.String> groupList)
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getAsk()
           
 java.lang.String[] getGroup()
           
 java.lang.String getName()
           
 java.lang.String getSubscription()
           
 void setAsk(java.lang.String ask)
           
 void setGroup(java.lang.String[] group)
           
 void setName(java.lang.String name)
           
 void setSubscription(java.lang.String subscription)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RosterItem

public RosterItem(java.lang.String address,
                  java.lang.String[] group)

RosterItem

public RosterItem(java.lang.String ask,
                  java.lang.String address,
                  java.lang.String name,
                  java.lang.String subscription,
                  java.util.ArrayList<java.lang.String> groupList)
Method Detail

getAddress

public java.lang.String getAddress()

getGroup

public java.lang.String[] getGroup()

setGroup

public void setGroup(java.lang.String[] group)

getAsk

public java.lang.String getAsk()

setAsk

public void setAsk(java.lang.String ask)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getSubscription

public java.lang.String getSubscription()

setSubscription

public void setSubscription(java.lang.String subscription)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object