Package org.jivesoftware.smack.filter
Enum AbstractJidTypeFilter.JidType
- java.lang.Object
-
- java.lang.Enum<AbstractJidTypeFilter.JidType>
-
- org.jivesoftware.smack.filter.AbstractJidTypeFilter.JidType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractJidTypeFilter.JidType>
- Enclosing class:
- AbstractJidTypeFilter
protected static enum AbstractJidTypeFilter.JidType extends java.lang.Enum<AbstractJidTypeFilter.JidType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description any
domainBare
domainFull
entityBare
entityFull
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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
-
entityFull
public static final AbstractJidTypeFilter.JidType entityFull
-
entityBare
public static final AbstractJidTypeFilter.JidType entityBare
-
domainFull
public static final AbstractJidTypeFilter.JidType domainFull
-
domainBare
public static final AbstractJidTypeFilter.JidType domainBare
-
any
public static final AbstractJidTypeFilter.JidType any
-
-
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
-
-