public static enum TreeVisitor.Action extends java.lang.Enum<TreeVisitor.Action>
| Enum Constant and Description |
|---|
CONTINUE
Continue visiting the node children.
|
INTERRUPT
Interrupt visiting a tree structure.
|
SKIP_CHILDREN
Continue without visiting the node children.
|
SKIP_SIBLINGS
Continue without visiting the node siblings.
|
| Modifier and Type | Method and Description |
|---|---|
static TreeVisitor.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeVisitor.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeVisitor.Action INTERRUPT
public static final TreeVisitor.Action CONTINUE
public static final TreeVisitor.Action SKIP_CHILDREN
public static final TreeVisitor.Action SKIP_SIBLINGS
public static TreeVisitor.Action[] values()
for (TreeVisitor.Action c : TreeVisitor.Action.values()) System.out.println(c);
public static TreeVisitor.Action 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