public static enum XMPPConnection.FromMode extends Enum<XMPPConnection.FromMode>
Enum Constant and Description |
---|
OMITTED
Omit the 'from' attribute.
|
UNCHANGED
Leave the 'from' attribute unchanged.
|
USER
Set the from to the clients full JID.
|
Modifier and Type | Method and Description |
---|---|
static XMPPConnection.FromMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMPPConnection.FromMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMPPConnection.FromMode UNCHANGED
public static final XMPPConnection.FromMode OMITTED
public static final XMPPConnection.FromMode USER
public static XMPPConnection.FromMode[] values()
for (XMPPConnection.FromMode c : XMPPConnection.FromMode.values()) System.out.println(c);
public static XMPPConnection.FromMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null