public static enum PubSubNode.Type extends Enum<PubSubNode.Type>
| Enum Constant and Description |
|---|
COLLECTION |
LEAF |
| Modifier and Type | Method and Description |
|---|---|
static PubSubNode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PubSubNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PubSubNode.Type LEAF
public static final PubSubNode.Type COLLECTION
public static PubSubNode.Type[] values()
for (PubSubNode.Type c : PubSubNode.Type.values()) System.out.println(c);
public static PubSubNode.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 XMPP.rocks. All rights reserved.