public static enum Body.Type extends Enum<Body.Type>
<body/> element.| Enum Constant and Description |
|---|
ERROR
The connection manager has reported a recoverable binding error.
|
TERMINATE
The connection manager or the client has terminated the connection.
|
| Modifier and Type | Method and Description |
|---|---|
static Body.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Body.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Body.Type ERROR
public static final Body.Type TERMINATE
public static Body.Type[] values()
for (Body.Type c : Body.Type.values()) System.out.println(c);
public static Body.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–2016 XMPP.rocks. All rights reserved.