| Enum Constant and Description |
|---|
ALL
Accept all nodes (*).
|
NAME
Test names (*:tag).
|
NS
Test namespaces (pre:*).
|
STD
Test all nodes (pre:tag).
|
| Modifier and Type | Method and Description |
|---|---|
static Test.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Test.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Test.Mode ALL
public static final Test.Mode NAME
public static final Test.Mode NS
public static final Test.Mode STD
public static Test.Mode[] values()
for (Test.Mode c : Test.Mode.values()) System.out.println(c);
public static Test.Mode 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 null