com.valhalla.jbother.jabber
Class SelfStatuses

java.lang.Object
  extended bycom.valhalla.jbother.jabber.SelfStatuses

public class SelfStatuses
extends java.lang.Object

Vector of user statuses (SelfStatuses)

Author:
Yury Soldak (tail)
See Also:
SelfStatus

Method Summary
 java.util.Vector getContent()
          Gets all the self statuses
static SelfStatuses getInstance()
          Gets the SelfStatuses singleton
 SelfStatus getStatus(org.jivesoftware.smack.packet.Presence.Mode mode)
          Gets a status for a mode
 SelfStatus getStatus(java.lang.String title)
          Gets a self status for the specified string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SelfStatuses getInstance()
Gets the SelfStatuses singleton

Returns:
the SelfStatuses singleton

getStatus

public SelfStatus getStatus(java.lang.String title)
Gets a self status for the specified string

Parameters:
title - the title of the status to get
Returns:
the SelfStatus

getStatus

public SelfStatus getStatus(org.jivesoftware.smack.packet.Presence.Mode mode)
Gets a status for a mode

Parameters:
mode - the mode to get the self status for
Returns:
the requested SelfStatus

getContent

public java.util.Vector getContent()
Gets all the self statuses

Returns:
The content value