public enum VisitResult extends Enum<VisitResult>
An enum that specifies the possible
results of a call to VisitCallback.visit().
VisitCallback.visit()| Enum Constant and Description |
|---|
ACCEPT
This result indicates that the tree visit should descend into
current component's subtree.
|
COMPLETE
This result indicates that the tree visit should be terminated.
|
REJECT
This result indicates that the tree visit should continue, but
should skip the current component's subtree.
|
| Modifier and Type | Method and Description |
|---|---|
static VisitResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisitResult ACCEPT
public static final VisitResult REJECT
public static final VisitResult COMPLETE
public static VisitResult[] values()
for (VisitResult c : VisitResult.values()) System.out.println(c);
public static VisitResult 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 © 2021 The Apache Software Foundation. All Rights Reserved.