public enum SubtreeMode extends java.lang.Enum<SubtreeMode>
Enum Constant and Description |
---|
DATA
This type is used for data in the element subtree.
|
TEXT
This type is used for text in the element subtree.
|
Modifier and Type | Method and Description |
---|---|
static SubtreeMode |
getSubtreeMode(java.lang.String val) |
static SubtreeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubtreeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubtreeMode TEXT
public static final SubtreeMode DATA
public static SubtreeMode[] values()
for (SubtreeMode c : SubtreeMode.values()) System.out.println(c);
public static SubtreeMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SubtreeMode getSubtreeMode(java.lang.String val)