public static enum ItemsExtension.ItemsElementType extends Enum<ItemsExtension.ItemsElementType>
Enum Constant and Description |
---|
items
An items element, which has an optional max_items attribute when requesting items
|
retract
A retract element, which has an optional notify attribute when publishing deletions
|
Modifier and Type | Method and Description |
---|---|
String |
getElementAttribute() |
PubSubElementType |
getNodeElement() |
static ItemsExtension.ItemsElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemsExtension.ItemsElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemsExtension.ItemsElementType items
public static final ItemsExtension.ItemsElementType retract
public static ItemsExtension.ItemsElementType[] values()
for (ItemsExtension.ItemsElementType c : ItemsExtension.ItemsElementType.values()) System.out.println(c);
public static ItemsExtension.ItemsElementType 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 nullpublic PubSubElementType getNodeElement()
public String getElementAttribute()