org.jivesoftware.smackx.pubsub
Enum FormNodeElement

java.lang.Object
  extended by java.lang.Enum<FormNodeElement>
      extended by org.jivesoftware.smackx.pubsub.FormNodeElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FormNodeElement>

public enum FormNodeElement
extends java.lang.Enum<FormNodeElement>


Enum Constant Summary
CONFIGURE
           
CONFIGURE_OWNER
           
CREATE
           
DEFAULT
           
OPTIONS
           
 
Method Summary
 PubSubElementType getNodeElement()
           
static FormNodeElement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FormNodeElement valueOfFromElementName(java.lang.String elem, java.lang.String configNamespace)
           
static FormNodeElement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONFIGURE_OWNER

public static final FormNodeElement CONFIGURE_OWNER

CONFIGURE

public static final FormNodeElement CONFIGURE

OPTIONS

public static final FormNodeElement OPTIONS

DEFAULT

public static final FormNodeElement DEFAULT

CREATE

public static final FormNodeElement CREATE
Method Detail

values

public static FormNodeElement[] 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 (FormNodeElement c : FormNodeElement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FormNodeElement valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getNodeElement

public PubSubElementType getNodeElement()

valueOfFromElementName

public static FormNodeElement valueOfFromElementName(java.lang.String elem,
                                                     java.lang.String configNamespace)