Package org.jivesoftware.smack.packet
Enum StanzaError.Condition
- java.lang.Object
-
- java.lang.Enum<StanzaError.Condition>
-
- org.jivesoftware.smack.packet.StanzaError.Condition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StanzaError.Condition>
- Enclosing class:
- StanzaError
public static enum StanzaError.Condition extends java.lang.Enum<StanzaError.Condition>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StanzaError.Condition
fromString(java.lang.String string)
java.lang.String
toString()
static StanzaError.Condition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StanzaError.Condition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
bad_request
public static final StanzaError.Condition bad_request
-
conflict
public static final StanzaError.Condition conflict
-
feature_not_implemented
public static final StanzaError.Condition feature_not_implemented
-
forbidden
public static final StanzaError.Condition forbidden
-
gone
public static final StanzaError.Condition gone
-
internal_server_error
public static final StanzaError.Condition internal_server_error
-
item_not_found
public static final StanzaError.Condition item_not_found
-
jid_malformed
public static final StanzaError.Condition jid_malformed
-
not_acceptable
public static final StanzaError.Condition not_acceptable
-
not_allowed
public static final StanzaError.Condition not_allowed
-
not_authorized
public static final StanzaError.Condition not_authorized
-
policy_violation
public static final StanzaError.Condition policy_violation
-
recipient_unavailable
public static final StanzaError.Condition recipient_unavailable
-
redirect
public static final StanzaError.Condition redirect
-
registration_required
public static final StanzaError.Condition registration_required
-
remote_server_not_found
public static final StanzaError.Condition remote_server_not_found
-
remote_server_timeout
public static final StanzaError.Condition remote_server_timeout
-
resource_constraint
public static final StanzaError.Condition resource_constraint
-
service_unavailable
public static final StanzaError.Condition service_unavailable
-
subscription_required
public static final StanzaError.Condition subscription_required
-
undefined_condition
public static final StanzaError.Condition undefined_condition
-
unexpected_request
public static final StanzaError.Condition unexpected_request
-
-
Method Detail
-
values
public static StanzaError.Condition[] 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 (StanzaError.Condition c : StanzaError.Condition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StanzaError.Condition 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<StanzaError.Condition>
-
fromString
public static StanzaError.Condition fromString(java.lang.String string)
-
-