Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber.extensions.coin
Enum JoiningType

java.lang.Object
  extended by java.lang.Enum<JoiningType>
      extended by net.java.sip.communicator.impl.protocol.jabber.extensions.coin.JoiningType
All Implemented Interfaces:
Serializable, Comparable<JoiningType>

public enum JoiningType
extends Enum<JoiningType>

Joining type.

Author:
Sebastien Vincent

Enum Constant Summary
dialed_in
          Dialed-in.
dialed_out
          Dialed-out.
focus_owner
          Focus owner.
 
Method Summary
static JoiningType parseString(String typeStr)
          Returns a JoiningType.
 String toString()
          Returns the type name.
static JoiningType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JoiningType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

dialed_in

public static final JoiningType dialed_in
Dialed-in.


dialed_out

public static final JoiningType dialed_out
Dialed-out.


focus_owner

public static final JoiningType focus_owner
Focus owner.

Method Detail

values

public static JoiningType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JoiningType c : JoiningType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JoiningType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns the type name.

Overrides:
toString in class Enum<JoiningType>
Returns:
type name

parseString

public static JoiningType parseString(String typeStr)
                               throws IllegalArgumentException
Returns a JoiningType.

Parameters:
typeStr - the String that we'd like to parse.
Returns:
an JoiningType.
Throws:
IllegalArgumentException - in case typeStr is not a valid EndPointType.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.