org.jivesoftware.smackx.pubsub
Enum ItemsExtension.ItemsElementType
java.lang.Object
   java.lang.Enum<ItemsExtension.ItemsElementType>
java.lang.Enum<ItemsExtension.ItemsElementType>
       org.jivesoftware.smackx.pubsub.ItemsExtension.ItemsElementType
org.jivesoftware.smackx.pubsub.ItemsExtension.ItemsElementType
- All Implemented Interfaces: 
- Serializable, Comparable<ItemsExtension.ItemsElementType>
- Enclosing class:
- ItemsExtension
- public static enum ItemsExtension.ItemsElementType 
- extends Enum<ItemsExtension.ItemsElementType>
| Enum Constant Summary | 
| itemsAn items element, which has an optional max_items attribute when requesting items
 | 
| retractA retract element, which has an optional notify attribute when publishing deletions
 | 
 
 
 
 
items
public static final ItemsExtension.ItemsElementType items
- An items element, which has an optional max_items attribute when requesting items
 
 
retract
public static final ItemsExtension.ItemsElementType retract
- A retract element, which has an optional notify attribute when publishing deletions
 
 
values
public static ItemsExtension.ItemsElementType[] 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 (ItemsExtension.ItemsElementType c : ItemsExtension.ItemsElementType.values())
    System.out.println(c);
 
 
- 
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
 
valueOf
public static ItemsExtension.ItemsElementType valueOf(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:
- IllegalArgumentException- if this enum type has no constant
with the specified name
- NullPointerException- if the argument is null
 
getNodeElement
public PubSubElementType getNodeElement()
- 
 
getElementAttribute
public String getElementAttribute()
- 
 
Copyright © 2003-2007 Jive Software.