public enum XmlType extends Enum<XmlType>
| Enum Constant and Description |
|---|
ATTRIBUTE
by an attribute
|
TAG
by a tag
|
VALUE
in the value section
|
VALUE_CDATA
in the value section with CDATA
|
| Modifier and Type | Method and Description |
|---|---|
static XmlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlType ATTRIBUTE
public static final XmlType TAG
public static final XmlType VALUE
public static final XmlType VALUE_CDATA
public static XmlType[] values()
for (XmlType c : XmlType.values()) System.out.println(c);
public static XmlType 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 © 2016. All rights reserved.