Enum AbstractJidTypeFilter.JidType
- java.lang.Object
-
- java.lang.Enum<AbstractJidTypeFilter.JidType>
-
- org.jivesoftware.smack.filter.jidtype.AbstractJidTypeFilter.JidType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractJidTypeFilter.JidType>
- Enclosing class:
- AbstractJidTypeFilter
public static enum AbstractJidTypeFilter.JidType extends java.lang.Enum<AbstractJidTypeFilter.JidType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BareJid
DomainBareJid
DomainFullJid
DomainJid
EntityBareJid
EntityFullJid
EntityJid
FullJid
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTypeOf(Jid jid)
static AbstractJidTypeFilter.JidType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractJidTypeFilter.JidType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BareJid
public static final AbstractJidTypeFilter.JidType BareJid
-
DomainBareJid
public static final AbstractJidTypeFilter.JidType DomainBareJid
-
DomainFullJid
public static final AbstractJidTypeFilter.JidType DomainFullJid
-
DomainJid
public static final AbstractJidTypeFilter.JidType DomainJid
-
EntityBareJid
public static final AbstractJidTypeFilter.JidType EntityBareJid
-
EntityFullJid
public static final AbstractJidTypeFilter.JidType EntityFullJid
-
EntityJid
public static final AbstractJidTypeFilter.JidType EntityJid
-
FullJid
public static final AbstractJidTypeFilter.JidType FullJid
-
-
Method Detail
-
values
public static AbstractJidTypeFilter.JidType[] 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 (AbstractJidTypeFilter.JidType c : AbstractJidTypeFilter.JidType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractJidTypeFilter.JidType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-