public static enum XMLField.ContentType extends Enum<XMLField.ContentType>
Modifier and Type | Method and Description |
---|---|
static XMLField.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLField.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLField.ContentType Element
public static final XMLField.ContentType Attribute
public static XMLField.ContentType[] values()
for (XMLField.ContentType c : XMLField.ContentType.values()) System.out.println(c);
public static XMLField.ContentType 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 null