@PublicApi public enum TraversalControl extends java.lang.Enum<TraversalControl>
| Enum Constant and Description |
|---|
ABORT
When returned from a Visitor's method, indicates skipping traversal of a subtree.
|
CONTINUE
When returned the traversal will continue as planned.
|
QUIT
When returned from a Visitor's method, indicates exiting the traversal
|
| Modifier and Type | Method and Description |
|---|---|
static TraversalControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraversalControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraversalControl CONTINUE
public static final TraversalControl QUIT
public static final TraversalControl ABORT
public static TraversalControl[] values()
for (TraversalControl c : TraversalControl.values()) System.out.println(c);
public static TraversalControl 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