public static enum AbstractIQ.Type extends Enum<AbstractIQ.Type>
<iq/> 'type' attribute.| Enum Constant and Description |
|---|
ERROR
The stanza reports an error that has occurred regarding processing or delivery of a get or set request.
|
GET
The stanza requests information, inquires about what data is needed in order to complete further operations, etc.
|
RESULT
The stanza is a response to a successful get or set request.
|
SET
The stanza provides data that is needed for an operation to be completed, sets new values, replaces existing values, etc.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractIQ.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractIQ.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractIQ.Type ERROR
public static final AbstractIQ.Type GET
public static final AbstractIQ.Type RESULT
public static final AbstractIQ.Type SET
public static AbstractIQ.Type[] values()
for (AbstractIQ.Type c : AbstractIQ.Type.values()) System.out.println(c);
public static AbstractIQ.Type 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 nullCopyright © 2014–2015 XMPP.rocks. All rights reserved.